diff options
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/post.html | 136 |
1 files changed, 57 insertions, 79 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 13ffece..d0d1319 100644 --- a/_layouts/post.html +++ b/_layouts/post.html | |||
| @@ -1,82 +1,59 @@ | |||
| 1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> | 2 | <html lang="en"> |
| 3 | <head> | 3 | |
| 4 | <meta charset="utf-8" /> | 4 | <head> |
| 5 | 5 | <meta charset="utf-8" /> | |
| 6 | <meta http-equiv="x-ua-compatible" content="ie=edge" /> | 6 | |
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5" /> | 7 | <meta http-equiv="x-ua-compatible" content="ie=edge" /> |
| 8 | 8 | <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5" /> | |
| 9 | <meta name="theme-color" content="{{ site.theme_color }}" /> | 9 | |
| 10 | <meta name="author" content="{{ site.author }}" /> | 10 | <meta name="theme-color" content="{{ site.theme_color }}" /> |
| 11 | <meta name="description" content="{{ page.description }}" /> | 11 | <meta name="author" content="{{ site.author }}" /> |
| 12 | 12 | <meta name="description" content="{{ page.description }}" /> | |
| 13 | <meta name="google-site-verification" content="EwUGW1WlCkRIQuyQ9AE1-bLitWthw-eVMZFTAMZVZaA" /> | 13 | |
| 14 | 14 | <meta name="google-site-verification" content="EwUGW1WlCkRIQuyQ9AE1-bLitWthw-eVMZFTAMZVZaA" /> | |
| 15 | <title>{{ page.title }}</title> | 15 | |
| 16 | 16 | <title>{{ page.title }}</title> | |
| 17 | <link rel="icon" type="image/gif" href="/{{ site.avatar }}?ver={{ site.cache_version }}" /> | 17 | |
| 18 | 18 | <link rel="icon" type="image/gif" href="/{{ site.avatar }}?ver={{ site.cache_version }}" /> | |
| 19 | <meta name="og:url" content="{{ site.domain }}{{ page.slug }}" /> | 19 | |
| 20 | <meta name="og:type" content="website" /> | 20 | <meta name="og:url" content="{{ site.domain }}{{ page.slug }}" /> |
| 21 | <meta name="og:title" content="{{ page.title }}" /> | 21 | <meta name="og:type" content="website" /> |
| 22 | <meta name="og:description" content="{{ page.description }}" /> | 22 | <meta name="og:title" content="{{ page.title }}" /> |
| 23 | <meta name="og:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" /> | 23 | <meta name="og:description" content="{{ page.description }}" /> |
| 24 | 24 | <meta name="og:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" /> | |
| 25 | <meta name="twitter:card" content="summary" /> | 25 | |
| 26 | <meta name="twitter:site" content="{{ site.twitter }}" /> | 26 | <meta name="twitter:card" content="summary" /> |
| 27 | <meta name="twitter:title" content="{{ page.title }}" /> | 27 | <meta name="twitter:site" content="{{ site.twitter }}" /> |
| 28 | <meta name="twitter:description" content="{{ page.description }}" /> | 28 | <meta name="twitter:title" content="{{ page.title }}" /> |
| 29 | <meta name="twitter:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" /> | 29 | <meta name="twitter:description" content="{{ page.description }}" /> |
| 30 | 30 | <meta name="twitter:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" /> | |
| 31 | <link rel="manifest" href="/assets/manifest.json?ver={{ site.cache_version }}" /> | 31 | |
| 32 | 32 | <link rel="manifest" href="/assets/manifest.json?ver={{ site.cache_version }}" /> | |
| 33 | <style> | 33 | |
| 34 | {% include site.min.css %} | 34 | <style> |
| 35 | {% include highlight.min.css %} | 35 | {% include site.min.css %} |
| 36 | </style> | 36 | {% include highlight.min.css %} |
| 37 | </head> | 37 | </style> |
| 38 | 38 | </head> | |
| 39 | <body> | 39 | |
| 40 | {% include header.html %} | 40 | <body> |
| 41 | 41 | {% include header.html %} | |
| 42 | <article> | 42 | |
| 43 | <h1>{{ page.title }}</h1> | 43 | <article> |
| 44 | 44 | ||
| 45 | <time datetime="{{ page.date | date: '%Y-%m-%d' }}">{{ page.date | date: '%A, %B %-d, %Y' }}</time> | 45 | <h1>{{ page.title }}</h1> |
| 46 | 46 | ||
| 47 | {{ content }} | 47 | <time datetime="{{ page.date | date: '%Y-%m-%d' }}">{{ page.date | date: '%A, %B %-d, %Y' }}, by {{ site.author }}</time> |
| 48 | 48 | ||
| 49 | <!-- | 49 | {{ content }} |
| 50 | <div id="HCB_comment_box" class="comments">Loading comments ...</div> | 50 | |
| 51 | <script type="text/javascript" id="hcb"> | 51 | </article> |
| 52 | if (!window.hcb_user) { | 52 | |
| 53 | hcb_user = { | 53 | {% include footer.html %} |
| 54 | logout_link: "logout", | 54 | |
| 55 | admin_link: "admin", | 55 | <!-- Linked data - Article --> |
| 56 | reply: "reply", | 56 | <script type="application/ld+json"> |
| 57 | flag: "flag", | ||
| 58 | like: "like", | ||
| 59 | prev_page: "prev", | ||
| 60 | next_page: "next", | ||
| 61 | }; | ||
| 62 | } | ||
| 63 | hcb_user.PAGE = "{{ site.domain }}"; | ||
| 64 | (function() { | ||
| 65 | var s = document.createElement("script"), | ||
| 66 | l = hcb_user.PAGE || ("" + window.location).replace(/'/g, "%27"), | ||
| 67 | h = "//www.htmlcommentbox.com"; | ||
| 68 | s.setAttribute("type", "text/javascript"); | ||
| 69 | s.setAttribute("src", h + "/jread?page=" + encodeURIComponent(l).replace("+", "%2B") + "&mod=%241%24wq1rdBcg%24MpQDCL74rJm9DREvceKL%2F1" + "&opts=16399&num=10&ts=1490664489345"); | ||
| 70 | if (typeof s != "undefined") document.getElementsByTagName("head")[0].appendChild(s); | ||
| 71 | })(); | ||
| 72 | </script> | ||
| 73 | --> | ||
| 74 | </article> | ||
| 75 | |||
| 76 | {% include footer.html %} | ||
| 77 | |||
| 78 | <!-- Linked data - Article --> | ||
| 79 | <script type="application/ld+json"> | ||
| 80 | { | 57 | { |
| 81 | "@context": "http://schema.org", | 58 | "@context": "http://schema.org", |
| 82 | "@type": "NewsArticle", | 59 | "@type": "NewsArticle", |
| @@ -106,5 +83,6 @@ | |||
| 106 | "description": "{{ page.description }}" | 83 | "description": "{{ page.description }}" |
| 107 | } | 84 | } |
| 108 | </script> | 85 | </script> |
| 109 | </body> | 86 | </body> |
| 110 | </html> | 87 | |
| 88 | </html> \ No newline at end of file | ||
