Updated page settings
Modified template slightly. I don't like that big header.
This commit is contained in:
parent
f830e9d2f1
commit
d135af3035
3 changed files with 72 additions and 2 deletions
|
@ -1,3 +1,2 @@
|
|||
theme: jekyll-theme-midnight
|
||||
title: RegexBot
|
||||
description:
|
||||
title: RegexBot
|
59
docs/_layouts/default.html
Normal file
59
docs/_layouts/default.html
Normal file
|
@ -0,0 +1,59 @@
|
|||
<!doctype html>
|
||||
<html lang="{{ site.lang | default: "en-US" }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
|
||||
{% seo %}
|
||||
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
||||
<script src="{{ '/assets/js/respond.js' | relative_url }}"></script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<!--[if lt IE 8]>
|
||||
<link rel="stylesheet" href="{{ '/assets/css/ie.css' | relative_url }}">
|
||||
<![endif]-->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<nav>
|
||||
<li class="fork"><a href="{{ site.github.repository_url }}">View On GitHub</a></li>
|
||||
{% if site.show_downloads %}
|
||||
<li class="downloads"><a href="{{ site.github.zip_url }}">ZIP</a></li>
|
||||
<li class="downloads"><a href="{{ site.github.tar_url }}">TAR</a></li>
|
||||
<li class="title">DOWNLOADS</li>
|
||||
{% endif %}
|
||||
</nav>
|
||||
</div><!-- end header -->
|
||||
|
||||
<div class="wrapper">
|
||||
|
||||
<section>
|
||||
<div id="title">
|
||||
<h1>{{ site.title | default: site.github.repository_name }}</h1>
|
||||
<hr>
|
||||
<span class="credits left">Project maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></span>
|
||||
<span class="credits right">Hosted on GitHub Pages — Theme by <a href="https://twitter.com/michigangraham">mattgraham</a></span>
|
||||
</div>
|
||||
|
||||
{{ content }}
|
||||
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
{% if site.google_analytics %}
|
||||
<script type="text/javascript">
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
ga('create', '{{ site.google_analytics }}', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|
12
docs/assets/css/style.scss
Normal file
12
docs/assets/css/style.scss
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
---
|
||||
|
||||
@import "{{ site.theme }}";
|
||||
|
||||
section #title h1 {
|
||||
// Compensating for removal of description line
|
||||
margin-bottom: 18px;
|
||||
// And some other adjustments so it doesn't look so odd by itself
|
||||
text-align: left;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
Loading…
Reference in a new issue