_layouts/default.html in jekyll-theme-time-machine-0.1.1 vs _layouts/default.html in jekyll-theme-time-machine-0.2.0
- old
+ new
@@ -4,17 +4,18 @@
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
-
+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script src="{{ '/assets/js/script.js' | relative_url }}"></script>
{% seo %}
+ {% include head-custom.html %}
</head>
<body>
<div class="wrapper">
@@ -55,21 +56,14 @@
</div>
</footer>
</div>
<div class="current-section">
<a href="#top">Scroll to top</a>
- <a href="{{ site.github.tar_url }}" class="tar">tar</a><a href="{{ site.github.zip_url }}" class="zip">zip</a><a href="" class="code">source code</a>
+ {% if site.show_downloads %}
+ <a href="{{ site.github.tar_url }}" class="tar">tar</a>
+ <a href="{{ site.github.zip_url }}" class="zip">zip</a>
+ <a href="{{ site.github.repository_url }}" class="code">source code</a>
+ {% endif %}
<p class="name"></p>
</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>