|
1 | 1 | <head>
|
2 |
| - <meta charset="utf-8"> |
3 |
| - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
4 |
| - <meta name="viewport" content="width=device-width, initial-scale=1"> |
5 |
| - <meta name="description" content=""> |
6 |
| - <title>{{ page.title }}</title> |
| 2 | + <meta charset="utf-8" /> |
| 3 | + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
| 4 | + <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 5 | + <meta name="description" content="" /> |
| 6 | + <title>{{ page.title }}</title> |
7 | 7 |
|
8 |
| - <!-- Open Graph Meta --> |
9 |
| - <meta content="{{ site.title }}" property="og:site_name"> |
10 |
| - {%- if page.title -%} |
11 |
| - <meta content="{{ page.title }}" property="og:title"> |
12 |
| - {%- else -%} |
13 |
| - <meta content="{{ site.title }}" property="og:title"> |
14 |
| - {%- endif -%} |
15 |
| - {%- if page.title -%} |
16 |
| - <meta content="article" property="og:type"> |
17 |
| - {%- else -%} |
18 |
| - <meta content="website" property="og:type"> |
19 |
| - {%- endif -%} |
20 |
| - {%- if page.description -%} |
21 |
| - <meta content="{{ page.description }}" property="og:description"> |
22 |
| - {%- else -%} |
23 |
| - <meta content="{{ site.description }}" property="og:description"> |
24 |
| - {%- endif -%} |
25 |
| - {%- if page.url -%} |
26 |
| - <meta content="{{ site.url }}{{ page.url }}" property="og:url"> |
27 |
| - {%- endif -%} |
28 |
| - {%- if page.date -%} |
29 |
| - <meta content="{{ page.date | date_to_xmlschema }}" property="article:published_time"> |
30 |
| - <meta content="{{ site.url }}/about/" property="article:author"> |
31 |
| - {%- endif -%} |
32 |
| - {%- if page.image -%} |
33 |
| - <meta content="{{ site.url }}/assets/img/{{ page.image }}" property="og:image"> |
34 |
| - {%- else -%} |
35 |
| - <meta content="{{ '/assets/img/touring.jpg' | prepend: site.url }}" property="og:image"> |
36 |
| - {%- endif -%} |
| 8 | + <!-- Open Graph Meta --> |
| 9 | + <meta content="{{ site.title }}" property="og:site_name" /> |
| 10 | + {%- if page.title -%} |
| 11 | + <meta content="{{ page.title }}" property="og:title" /> |
| 12 | + {%- else -%} |
| 13 | + <meta content="{{ site.title }}" property="og:title" /> |
| 14 | + {%- endif -%} {%- if page.title -%} |
| 15 | + <meta content="article" property="og:type" /> |
| 16 | + {%- else -%} |
| 17 | + <meta content="website" property="og:type" /> |
| 18 | + {%- endif -%} {%- if page.description -%} |
| 19 | + <meta content="{{ page.description }}" property="og:description" /> |
| 20 | + {%- else -%} |
| 21 | + <meta content="{{ site.description }}" property="og:description" /> |
| 22 | + {%- endif -%} {%- if page.url -%} |
| 23 | + <meta content="{{ site.url }}{{ page.url }}" property="og:url" /> |
| 24 | + {%- endif -%} {%- if page.date -%} |
| 25 | + <meta |
| 26 | + content="{{ page.date | date_to_xmlschema }}" |
| 27 | + property="article:published_time" |
| 28 | + /> |
| 29 | + <meta content="{{ site.url }}/about/" property="article:author" /> |
| 30 | + {%- endif -%} {%- if page.image -%} |
| 31 | + <meta |
| 32 | + content="{{ site.url }}/assets/img/{{ page.image }}" |
| 33 | + property="og:image" |
| 34 | + /> |
| 35 | + {%- else -%} |
| 36 | + <meta |
| 37 | + content="{{ '/assets/img/touring.jpg' | prepend: site.url }}" |
| 38 | + property="og:image" |
| 39 | + /> |
| 40 | + {%- endif -%} |
37 | 41 |
|
38 |
| - <!-- Twitter Cards --> |
39 |
| - <meta name="twitter:card" content="summary"> |
40 |
| - <meta name="twitter:site" content="@{{ site.social.twitter }}"> |
41 |
| - <meta name="twitter:creator" content="@{{ site.social.twitter }}"> |
42 |
| - {%- if page.title -%} |
43 |
| - <meta name="twitter:title" content="{{ page.title }}"> |
44 |
| - {%- else -%} |
45 |
| - <meta name="twitter:title" content="{{ site.title }}"> |
46 |
| - {%- endif -%} |
47 |
| - {%- if page.url -%} |
48 |
| - <meta name="twitter:url" content="{{ site.url }}{{ page.url }}"> |
49 |
| - {%- endif -%} |
50 |
| - {%- if page.description -%} |
51 |
| - <meta name="twitter:description" content="{{ page.description }}"> |
52 |
| - {%- else -%} |
53 |
| - <meta name="twitter:description" content="{{ site.description }}"> |
54 |
| - {%- endif -%} |
55 |
| - {%- if page.image -%} |
56 |
| - <meta name="twitter:image:src" content="{{ site.url }}/assets/img/{{ page.image }}"> |
57 |
| - {%- else -%} |
58 |
| - <meta name="twitter:image:src" content="{{ '/assets/img/touring.jpg' | prepend: site.url }}"> |
59 |
| - {%- endif -%} |
| 42 | + <!-- Twitter Cards --> |
| 43 | + <meta name="twitter:card" content="summary" /> |
| 44 | + <meta name="twitter:site" content="@{{ site.social.twitter }}" /> |
| 45 | + <meta name="twitter:creator" content="@{{ site.social.twitter }}" /> |
| 46 | + {%- if page.title -%} |
| 47 | + <meta name="twitter:title" content="{{ page.title }}" /> |
| 48 | + {%- else -%} |
| 49 | + <meta name="twitter:title" content="{{ site.title }}" /> |
| 50 | + {%- endif -%} {%- if page.url -%} |
| 51 | + <meta name="twitter:url" content="{{ site.url }}{{ page.url }}" /> |
| 52 | + {%- endif -%} {%- if page.description -%} |
| 53 | + <meta name="twitter:description" content="{{ page.description }}" /> |
| 54 | + {%- else -%} |
| 55 | + <meta name="twitter:description" content="{{ site.description }}" /> |
| 56 | + {%- endif -%} {%- if page.image -%} |
| 57 | + <meta |
| 58 | + name="twitter:image:src" |
| 59 | + content="{{ site.url }}/assets/img/{{ page.image }}" |
| 60 | + /> |
| 61 | + {%- else -%} |
| 62 | + <meta |
| 63 | + name="twitter:image:src" |
| 64 | + content="{{ '/assets/img/touring.jpg' | prepend: site.url }}" |
| 65 | + /> |
| 66 | + {%- endif -%} |
60 | 67 |
|
| 68 | + <!-- Favicon --> |
| 69 | + <link rel="icon" type="image/x-icon" href="/assets/img/favicon.ico" /> |
61 | 70 |
|
62 |
| - <!-- Favicon --> |
63 |
| - <link rel="icon" type="image/x-icon" href="/assets/img/favicon.ico" /> |
| 71 | + <!-- Come and get me RSS readers --> |
| 72 | + <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" |
| 73 | + href="{{ "/feed.xml" | prepend: site.url }}" /> |
64 | 74 |
|
65 |
| - <!-- Come and get me RSS readers --> |
66 |
| - <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.url }}" /> |
67 |
| - |
68 |
| - <!-- Stylesheet --> |
69 |
| - <link rel="stylesheet" href="/assets/css/style.css"> |
70 |
| - <!--[if IE 8]><link rel="stylesheet" href="/assets/css/ie.css"><![endif]--> |
71 |
| - <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.url }}"> |
| 75 | + <!-- Stylesheet --> |
| 76 | + <link rel="stylesheet" href="/assets/css/style.css" /> |
72 | 77 |
|
73 |
| - <!-- Modernizr --> |
74 |
| - <script src="/assets/js/modernizr.custom.15390.js"" type="text/javascript"></script> |
| 78 | + <!-- Canonical URL --> |
| 79 | + <link |
| 80 | + rel="canonical" |
| 81 | + href="{{ page.url | replace:'index.html','' | prepend: site.url }}" |
| 82 | + /> |
75 | 83 |
|
76 |
| - {%- if site.google_analytics -%} {%- include google_analytics.html -%} {%- endif -%} |
| 84 | + {%- if site.google_analytics -%} {%- include google_analytics.html -%} {%- |
| 85 | + endif -%} |
77 | 86 | </head>
|
0 commit comments