|
1 |
| -<!DOCTYPE html> |
2 |
| -<html lang="{{ site.lang | default: " en-US " }}"> |
3 |
| - |
4 |
| -<head> |
5 |
| - <meta charset='utf-8'> |
| 1 | +<!doctype html> |
| 2 | +<html lang="{{ site.lang | default: "en-US" }}"> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
6 | 5 | <meta http-equiv="X-UA-Compatible" content="chrome=1">
|
7 |
| - <meta name="viewport" content="width=device-width,maximum-scale=2"> |
8 |
| - <meta name="description" content="{{ site.title | default: site.github.repository_name }} : {{ site.description | default: site.github.project_tagline }}"> |
9 | 6 |
|
10 |
| - <link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}"> |
| 7 | +{% seo %} |
| 8 | + <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}"> |
| 9 | + <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> |
| 10 | + <script src="{{ '/assets/js/main.js' | relative_url }}"></script> |
| 11 | + <!--[if lt IE 9]> |
| 12 | + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> |
| 13 | + <![endif]--> |
| 14 | + <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> |
| 15 | + |
11 | 16 | <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
|
12 | 17 |
|
13 |
| - <title>{{ site.title | default: site.github.repository_name }}</title> |
14 |
| -</head> |
| 18 | + |
| 19 | + </head> |
| 20 | + <body> |
15 | 21 |
|
16 |
| -<body> |
| 22 | + <header> |
| 23 | + <h1>{{ site.title | default: site.github.repository_name }}</h1> |
| 24 | + <p>{{ site.description | default: site.github.project_tagline }}</p> |
| 25 | + </header> |
17 | 26 |
|
18 |
| - <!-- HEADER --> |
19 |
| - <div id="header_wrap" class="outer"> |
20 |
| - <header class="inner"> |
21 |
| - <a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a> |
| 27 | + <div id="banner"> |
| 28 | + <span id="logo"></span> |
22 | 29 |
|
23 |
| - <h1 id="project_title">{{ site.title | default: site.github.repository_name }}</h1> |
24 |
| - <h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2> |
| 30 | + <a href="{{ site.github.repository_url }}" class="button fork"><strong>View On GitHub</strong></a> |
| 31 | + {% if site.show_downloads %} |
| 32 | + <div class="downloads"> |
| 33 | + <span>Downloads:</span> |
| 34 | + <ul> |
| 35 | + <li><a href="{{ site.github.zip_url }}" class="button">ZIP</a></li> |
| 36 | + <li><a href="{{ site.github.tar_url }}" class="button">TAR</a></li> |
| 37 | + </ul> |
| 38 | + </div> |
| 39 | + {% endif %} |
| 40 | + </div><!-- end banner --> |
25 | 41 |
|
26 |
| - {% if site.show_downloads %} |
27 |
| - <section id="downloads"> |
28 |
| - <a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a> |
29 |
| - <a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a> |
30 |
| - </section> |
31 |
| - {% endif %} |
32 |
| - </header> |
33 |
| - </div> |
| 42 | + <div class="wrapper"> |
| 43 | + <nav> |
| 44 | + <ul></ul> |
| 45 | + </nav> |
| 46 | + <section> |
| 47 | + {{ content }} |
34 | 48 |
|
35 |
| - <!-- MAIN CONTENT --> |
36 |
| - <div id="main_content_wrap" class="outer"> |
37 |
| - <section id="main_content" class="inner"> |
38 |
| - {{ content }} |
39 |
| - </section> |
| 49 | + </section> |
| 50 | + <footer> |
| 51 | + {% if site.github.is_project_page %} |
| 52 | + <p>Project maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p> |
| 53 | + {% endif %} |
| 54 | + <p><small>Hosted on GitHub Pages — Theme by <a href="https://twitter.com/michigangraham">mattgraham</a></small></p> |
| 55 | + </footer> |
40 | 56 | </div>
|
| 57 | + <!--[if !IE]><script>fixScale(document);</script><![endif]--> |
41 | 58 |
|
42 |
| - <!-- INCLUDED JAVASCRIPT LIBRARIES --> |
| 59 | + <!-- INCLUDED JAVASCRIPT LIBRARIES --> |
43 | 60 | <script src="{{site.baseurl}}/assets/js/jquery.min.js"></script>
|
44 | 61 | <script src="{{site.baseurl}}/assets/js/lesson.js"></script>
|
45 |
| - |
46 |
| - <!-- FOOTER --> |
47 |
| - <div id="footer_wrap" class="outer"> |
48 |
| - <footer class="inner"> |
49 |
| - {% if site.github.is_project_page %} |
50 |
| - <p class="copyright">{{ site.title | default: site.github.repository_name }} maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p> |
51 |
| - {% endif %} |
52 |
| - <p>Published with <a href="https://pages.github.com">GitHub Pages</a></p> |
53 |
| - </footer> |
54 |
| - </div> |
55 |
| - |
| 62 | + |
56 | 63 | {% if site.google_analytics %}
|
57 |
| - <script type="text/javascript"> |
58 |
| - (function(i, s, o, g, r, a, m) { |
59 |
| - i['GoogleAnalyticsObject'] = r; |
60 |
| - i[r] = i[r] || function() { |
61 |
| - (i[r].q = i[r].q || []).push(arguments) |
62 |
| - }, i[r].l = 1 * new Date(); |
63 |
| - a = s.createElement(o), |
64 |
| - m = s.getElementsByTagName(o)[0]; |
65 |
| - a.async = 1; |
66 |
| - a.src = g; |
67 |
| - m.parentNode.insertBefore(a, m) |
68 |
| - })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); |
| 64 | + <script type="text/javascript"> |
| 65 | + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| 66 | + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| 67 | + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| 68 | + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
69 | 69 | ga('create', '{{ site.google_analytics }}', 'auto');
|
70 | 70 | ga('send', 'pageview');
|
71 |
| - </script> |
| 71 | + </script> |
72 | 72 | {% endif %}
|
73 |
| -</body> |
74 |
| - |
| 73 | + </body> |
75 | 74 | </html>
|
0 commit comments