Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3 from andead/tune-pages
Browse files Browse the repository at this point in the history
Tune pages
  • Loading branch information
andrey-kondratov authored Feb 20, 2019
2 parents 21bc0ea + 4d73727 commit 8e3fc3f
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
theme: jekyll-theme-tactile
show_downloads: true
google_analytics: UA-134841604-1
github:
latest_release_url: https://github.com/andead/octouri/releases/latest
61 changes: 61 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<link rel="stylesheet" type="text/css" href="{{ '/assets/css/print.css' | relative_url }}" media="print">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

{% seo %}
</head>

<body>
<div id="container">
<div class="inner">

<header>
<h1>{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<h2>{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
</header>
<section id="downloads" class="clearfix">
{% if site.show_downloads %}
<a href="{{ site.github.latest_release_url }}" id="download-zip" class="button"><span>Download</span></a>
{% endif %}
{% if site.github.public %}
{% if site.github.is_project_page %}
<a href="{{ site.github.repository_url }}" id="view-on-github" class="button"><span>View on GitHub</span></a>
{% else %}
<a href="{{ site.github.owner_url }}" id="view-on-github" class="button"><span>View on GitHub</span></a>
{% endif %}
{% endif %}
</section>
<hr>
<section id="main_content">
{{ content }}
</section>

<footer>
{% if site.github.is_project_page %}
{{ site.title | default: site.github.repository_name }} is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a><br>
{% endif %}
This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.
</footer>

</div>
</div>

{% if site.google_analytics %}
<script>
(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>

0 comments on commit 8e3fc3f

Please sign in to comment.