|
2 | 2 | <html> |
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8"> |
5 | | - <title>{% if page.title %}{{ page.title }} • {% endif %}{{ site.title }}</title> |
6 | | - {% if page.excerpt %}<meta name="description" content="{{ page.excerpt | strip_html }}">{% endif %} |
7 | | - {% if page.tags %}<meta name="keywords" content="{{ page.tags | join: ', ' }}">{% endif %} |
8 | | - {% if page.author %} |
9 | | - {% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.owner %} |
10 | | - {% endif %} |
11 | | - {% include open-graph.html %} |
12 | | - {% if author.google.plus %}<link rel="author" href="https://plus.google.com/{{ author.google.plus }}"/>{% endif %} |
13 | | - |
14 | | - <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.url }}"> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
15 | 7 |
|
16 | | - <link href="{{ site.url }}/atom.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Atom Feed"> |
17 | | - <link href="{{ site.url }}/sitemap.xml" type="application/xml" rel="sitemap" title="Sitemap"> |
| 8 | + <title>{% if page.title %}{{ page.title }} • {% endif %}{{ site.title }}</title> |
18 | 9 |
|
19 | | - <meta name="HandheldFriendly" content="True"> |
20 | | - <meta name="MobileOptimized" content="320"> |
21 | | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
22 | | - <meta http-equiv="cleartype" content="on"> |
| 10 | + <meta name="author" content="{{ site.author.name }}" /> |
23 | 11 |
|
24 | | - <style> |
25 | | - .sliding-menu-content { |
26 | | - top: 0; |
27 | | - right: 0; |
28 | | - text-align: center; |
29 | | - visibility: hidden; |
30 | | - height: 100%; |
31 | | - width: 100%; |
32 | | - -webkit-transform: translateX(100%); |
33 | | - -moz-transform: translateX(100%); |
34 | | - -ms-transform: translateX(100%); |
35 | | - -o-transform: translateX(100%); |
36 | | - transform: translateX(100%); |
37 | | - } |
38 | | - </style> |
| 12 | + {% if page.subtitle %} |
| 13 | + <meta name="description" content="{{ page.subtitle }}"> |
| 14 | + {% endif %} |
39 | 15 |
|
40 | | - <link rel="stylesheet" href="{{ site.url }}/css/main.css"> |
41 | | - <!-- HTML5 Shiv and Media Query Support for IE --> |
42 | | - <!--[if lt IE 9]> |
43 | | - <script src="{{ site.url }}/js/vendor/html5shiv.min.js"></script> |
44 | | - <script src="{{ site.url }}/js/vendor/respond.min.js"></script> |
45 | | - <![endif]--> |
| 16 | + <!-- Bootstrap core CSS --> |
| 17 | + <link href="/css/bootstrap.min.css" rel="stylesheet"> |
46 | 18 |
|
47 | 19 | </head> |
48 | 20 |
|
49 | 21 | <body> |
50 | 22 |
|
51 | | - {% include google_analytics.html %} |
52 | 23 | {% include header.html %} |
53 | | - {% include navigation-sliding.html %} |
54 | | - <div id="topbannerpicture"> |
55 | | - <img src="images/seismic_banner.png"> |
56 | | - </div> |
57 | 24 |
|
58 | | - <div id="page-wrapper"> |
59 | | - {% include browser-upgrade.html %} |
60 | | - |
61 | | - {{ content }} |
62 | | - |
63 | | - {% include footer.html %} |
64 | | - </div> |
65 | | - |
66 | | - <script src="{{ site.url }}/js/vendor/jquery-1.9.1.min.js"></script> |
67 | | - <script src="{{ site.url }}/js/main.js"></script> |
68 | | - |
69 | | - {% if page.toc == true %} |
70 | | - <script type="text/javascript"> |
71 | | - $('.toc').toc({ |
72 | | - 'selectors': 'h2', //elements to use as headings |
73 | | - 'container': '.page-content', //element to find all selectors in |
74 | | - 'smoothScrolling': true, //enable or disable smooth scrolling on click |
75 | | - 'prefix': 'toc', //prefix for anchor tags and class names |
76 | | - 'onHighlight': function(el) {}, //called when a new section is highlighted |
77 | | - 'highlightOnScroll': true, //add class to heading that is currently in focus |
78 | | - 'highlightOffset': 100, //offset to trigger the next headline |
79 | | - 'anchorName': function(i, heading, prefix) { //custom function for anchor name |
80 | | - return prefix+i; |
81 | | - }, |
82 | | - 'headerText': function(i, heading, $heading) { //custom function building the header-item text |
83 | | - return $heading.text(); |
84 | | - }, |
85 | | - 'itemClass': function(i, heading, $heading, prefix) { //custom function for item class |
86 | | - return $heading[0].tagName.toLowerCase(); |
87 | | - } |
88 | | - }); |
89 | | - </script> |
90 | | - {% endif %} |
| 25 | + {{ content }} |
91 | 26 |
|
92 | 27 | </body> |
93 | 28 |
|
|
0 commit comments