mje-nz-mistakes-jekyll 4.1.1.dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +690 -0
  3. data/LICENSE.txt +21 -0
  4. data/README.md +7 -0
  5. data/_includes/analytics-providers/custom.html +3 -0
  6. data/_includes/analytics-providers/google-universal.html +9 -0
  7. data/_includes/analytics-providers/google.html +11 -0
  8. data/_includes/analytics.html +12 -0
  9. data/_includes/archive-single.html +38 -0
  10. data/_includes/author-profile-custom-links.html +7 -0
  11. data/_includes/author-profile.html +241 -0
  12. data/_includes/base_path +5 -0
  13. data/_includes/breadcrumbs.html +39 -0
  14. data/_includes/browser-upgrade.html +3 -0
  15. data/_includes/category-list.html +26 -0
  16. data/_includes/comment.html +22 -0
  17. data/_includes/comments-providers/custom.html +3 -0
  18. data/_includes/comments-providers/discourse.html +13 -0
  19. data/_includes/comments-providers/disqus.html +22 -0
  20. data/_includes/comments-providers/facebook.html +8 -0
  21. data/_includes/comments-providers/google-plus.html +2 -0
  22. data/_includes/comments-providers/scripts.html +18 -0
  23. data/_includes/comments-providers/staticman.html +42 -0
  24. data/_includes/comments.html +80 -0
  25. data/_includes/feature_row +50 -0
  26. data/_includes/figure +12 -0
  27. data/_includes/footer/custom.html +3 -0
  28. data/_includes/footer.html +22 -0
  29. data/_includes/gallery +47 -0
  30. data/_includes/group-by-array +47 -0
  31. data/_includes/head/custom.html +5 -0
  32. data/_includes/head.html +19 -0
  33. data/_includes/masthead.html +21 -0
  34. data/_includes/nav_list +47 -0
  35. data/_includes/page__hero.html +53 -0
  36. data/_includes/page__taxonomy.html +7 -0
  37. data/_includes/paginator.html +68 -0
  38. data/_includes/post_pagination.html +14 -0
  39. data/_includes/read-time.html +15 -0
  40. data/_includes/scripts.html +4 -0
  41. data/_includes/seo.html +145 -0
  42. data/_includes/sidebar.html +23 -0
  43. data/_includes/social-share.html +13 -0
  44. data/_includes/tag-list.html +26 -0
  45. data/_includes/toc +7 -0
  46. data/_layouts/archive-taxonomy.html +15 -0
  47. data/_layouts/archive.html +24 -0
  48. data/_layouts/compress.html +10 -0
  49. data/_layouts/default.html +28 -0
  50. data/_layouts/home.html +11 -0
  51. data/_layouts/single.html +74 -0
  52. data/_layouts/splash.html +20 -0
  53. data/assets/css/main.css +4 -0
  54. data/assets/fonts/FontAwesome.otf +0 -0
  55. data/assets/fonts/fontawesome-webfont.eot +0 -0
  56. data/assets/fonts/fontawesome-webfont.svg +2671 -0
  57. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  58. data/assets/fonts/fontawesome-webfont.woff +0 -0
  59. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  60. data/assets/js/main.min.js +4 -0
  61. metadata +216 -0
@@ -0,0 +1,145 @@
1
+ <!-- begin SEO -->
2
+ {% if site.url %}
3
+ {% assign seo_url = site.url | append: site.baseurl %}
4
+ {% endif %}
5
+ {% assign seo_url = seo_url | default: site.github.url %}
6
+
7
+ {% if page.title %}
8
+ {% assign seo_title = page.title | append: " " | append: site.title_separator | append: " " | append: site.title %}
9
+ {% endif %}
10
+
11
+ {% if seo_title %}
12
+ {% assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once %}
13
+ {% endif %}
14
+
15
+ {% if site.url %}
16
+ {% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %}
17
+ {% endif %}
18
+
19
+ <title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
20
+
21
+ {% assign seo_description = page.description | default: page.excerpt | default: site.description %}
22
+ {% if seo_description %}
23
+ {% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %}
24
+ {% endif %}
25
+
26
+ <meta name="description" content="{{ seo_description }}">
27
+
28
+ {% assign seo_author = page.author | default: page.author[0] | default: site.author[0] %}
29
+ {% if seo_author %}
30
+ {% if seo_author.twitter %}
31
+ {% assign seo_author_twitter = seo_author.twitter %}
32
+ {% else %}
33
+ {% if site.data.authors and site.data.authors[seo_author] %}
34
+ {% assign seo_author_twitter = site.data.authors[seo_author].twitter %}
35
+ {% else %}
36
+ {% assign seo_author_twitter = seo_author %}
37
+ {% endif %}
38
+ {% endif %}
39
+ {% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
40
+ {% endif %}
41
+
42
+ <meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en" }}">
43
+ <meta property="og:site_name" content="{{ site.title }}">
44
+ <meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
45
+
46
+ {% if seo_url %}
47
+ <link rel="canonical" href="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
48
+ <meta property="og:url" content="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
49
+ {% endif %}
50
+
51
+ {% if page.excerpt %}
52
+ <meta property="og:description" content="{{ seo_description }}">
53
+ {% endif %}
54
+
55
+ {% if site.twitter.username %}
56
+ <meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}">
57
+ <meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
58
+ <meta name="twitter:description" content="{{ seo_description }}">
59
+ <meta name="twitter:url" content="{{ canonical_url }}">
60
+
61
+ {% if page.header.image %}
62
+ <meta name="twitter:card" content="summary_large_image">
63
+ <meta name="twitter:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | absolute_url }}{% endif %}">
64
+ {% else %}
65
+ <meta name="twitter:card" content="summary">
66
+ {% if page.header.teaser %}
67
+ <meta name="twitter:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
68
+ {% elsif site.og_image %}
69
+ <meta name="twitter:image" content="{{ site.og_image | absolute_url }}">
70
+ {% endif %}
71
+ {% endif %}
72
+
73
+ {% if seo_author_twitter %}
74
+ <meta name="twitter:creator" content="@{{ seo_author_twitter }}">
75
+ {% endif %}
76
+ {% endif %}
77
+
78
+ {% if site.facebook %}
79
+ {% if site.facebook.publisher %}
80
+ <meta property="article:publisher" content="{{ site.facebook.publisher }}">
81
+ {% endif %}
82
+
83
+ {% if site.facebook.app_id %}
84
+ <meta property="fb:app_id" content="{{ site.facebook.app_id }}">
85
+ {% endif %}
86
+ {% endif %}
87
+
88
+ {% if page.header.image %}
89
+ <meta property="og:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | absolute_url }}{% endif %}">
90
+ {% elsif page.header.overlay_image %}
91
+ <meta property="og:image" content="{% if page.header.overlay_image contains "://" %}{{ page.header.overlay_image }}{% else %}{{ page.header.overlay_image | absolute_url }}{% endif %}">
92
+ {% elsif page.header.teaser %}
93
+ <meta property="og:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
94
+ {% elsif site.og_image %}
95
+ <meta property="og:image" content="{% if site.og_image contains "://" %}{{ site.og_image }}{% else %}{{ site.og_image | absolute_url }}{% endif %}">
96
+ {% endif %}
97
+
98
+ {% if page.date %}
99
+ <meta property="og:type" content="article">
100
+ <meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
101
+ {% endif %}
102
+
103
+ {% if paginator.previous_page %}
104
+ <link rel="prev" href="{{ paginator.previous_page_path | prepend: seo_url }}">
105
+ {% endif %}
106
+ {% if paginator.next_page %}
107
+ <link rel="next" href="{{ paginator.next_page_path | prepend: seo_url }}">
108
+ {% endif %}
109
+
110
+ {% if site.og_image %}
111
+ <script type="application/ld+json">
112
+ {
113
+ "@context": "http://schema.org",
114
+ "@type": "Organization",
115
+ "url": {{ seo_url | jsonify }},
116
+ "logo": {{ site.og_image | absolute_url | jsonify }}
117
+ }
118
+ </script>
119
+ {% endif %}
120
+
121
+ {% if site.social %}
122
+ <script type="application/ld+json">
123
+ {
124
+ "@context" : "http://schema.org",
125
+ "@type" : "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}",
126
+ "name" : "{{ site.social.name | default: site.name }}",
127
+ "url" : {{ seo_url | jsonify }},
128
+ "sameAs" : {{ site.social.links | jsonify }}
129
+ }
130
+ </script>
131
+ {% endif %}
132
+
133
+ {% if site.google_site_verification %}
134
+ <meta name="google-site-verification" content="{{ site.google_site_verification }}" />
135
+ {% endif %}
136
+ {% if site.bing_site_verification %}
137
+ <meta name="msvalidate.01" content="{{ site.bing_site_verification }}">
138
+ {% endif %}
139
+ {% if site.alexa_site_verification %}
140
+ <meta name="alexaVerifyID" content="{{ site.alexa_site_verification }}">
141
+ {% endif %}
142
+ {% if site.yandex_site_verification %}
143
+ <meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
144
+ {% endif %}
145
+ <!-- end SEO -->
@@ -0,0 +1,23 @@
1
+ {% if page.author_profile or layout.author_profile or page.sidebar %}
2
+ <div class="sidebar sticky">
3
+ {% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %}
4
+ {% if page.sidebar %}
5
+ {% for s in page.sidebar %}
6
+ {% if s.image %}
7
+ <img src=
8
+ {% if s.image contains "://" %}
9
+ "{{ s.image }}"
10
+ {% else %}
11
+ "{{ s.image | absolute_url }}"
12
+ {% endif %}
13
+ alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
14
+ {% endif %}
15
+ {% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
16
+ {% if s.text %}{{ s.text | markdownify }}{% endif %}
17
+ {% endfor %}
18
+ {% if page.sidebar.nav %}
19
+ {% include nav_list nav=page.sidebar.nav %}
20
+ {% endif %}
21
+ {% endif %}
22
+ </div>
23
+ {% endif %}
@@ -0,0 +1,13 @@
1
+ <section class="page__share">
2
+ {% if site.data.ui-text[site.locale].share_on_label %}
3
+ <h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
4
+ {% endif %}
5
+
6
+ <a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username }}&{% endif %}text={{ page.title }} {{ page.url | absolute_url }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
7
+
8
+ <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
9
+
10
+ <a href="https://plus.google.com/share?url={{ page.url | absolute_url }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
11
+
12
+ <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
13
+ </section>
@@ -0,0 +1,26 @@
1
+ {% case site.tag_archive.type %}
2
+ {% when "liquid" %}
3
+ {% assign path_type = "#" %}
4
+ {% when "jekyll-archives" %}
5
+ {% assign path_type = nil %}
6
+ {% endcase %}
7
+
8
+ {% if site.tag_archive.path %}
9
+ {% comment %}
10
+ <!-- Sort alphabetically regardless of case e.g. a B c d E -->
11
+ <!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
12
+ {% endcomment %}
13
+ {% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
14
+ {% assign tag_hashes = (page_tags | split: ',' | sort:0) %}
15
+
16
+ <p class="page__taxonomy">
17
+ <strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
18
+ <span itemprop="keywords">
19
+ {% for hash in tag_hashes %}
20
+ {% assign keyValue = hash | split: '#' %}
21
+ {% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
22
+ <a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
23
+ {% endfor %}
24
+ </span>
25
+ </p>
26
+ {% endif %}
data/_includes/toc ADDED
@@ -0,0 +1,7 @@
1
+ <aside class="sidebar__right">
2
+ <nav class="toc" markdown="1">
3
+ <header><h4 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
4
+ * Auto generated table of contents
5
+ {:toc .toc__menu}
6
+ </nav>
7
+ </aside>
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: default
3
+ author_profile: false
4
+ ---
5
+
6
+ <div id="main" role="main">
7
+ {% include sidebar.html %}
8
+
9
+ <div class="archive">
10
+ <h1 class="page__title">{{ page.title }}</h1>
11
+ {% for post in page.posts %}
12
+ {% include archive-single.html %}
13
+ {% endfor %}
14
+ </div>
15
+ </div>
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
6
+ {% include page__hero.html %}
7
+ {% endif %}
8
+
9
+ {% if page.url != "/" and site.breadcrumbs %}
10
+ {% unless paginator %}
11
+ {% include breadcrumbs.html %}
12
+ {% endunless %}
13
+ {% endif %}
14
+
15
+ <div id="main" role="main">
16
+ {% include sidebar.html %}
17
+
18
+ <div class="archive">
19
+ {% unless page.header.overlay_color or page.header.overlay_image %}
20
+ <h1 class="page__title">{{ page.title }}</h1>
21
+ {% endunless %}
22
+ {{ content }}
23
+ </div>
24
+ </div>
@@ -0,0 +1,10 @@
1
+ ---
2
+ # Jekyll layout that compresses HTML
3
+ # v3.0.2
4
+ # http://jch.penibelst.de/
5
+ # © 2014–2015 Anatol Broder
6
+ # MIT License
7
+ ---
8
+
9
+ {% capture _LINE_FEED %}
10
+ {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
@@ -0,0 +1,28 @@
1
+ ---
2
+ ---
3
+
4
+ <!doctype html>
5
+ <html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
6
+ <head>
7
+ {% include head.html %}
8
+ {% include head/custom.html %}
9
+ </head>
10
+
11
+ <body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
12
+
13
+ {% include browser-upgrade.html %}
14
+ {% include masthead.html %}
15
+
16
+ {{ content }}
17
+
18
+ <div class="page__footer">
19
+ <footer>
20
+ {% include footer/custom.html %}
21
+ {% include footer.html %}
22
+ </footer>
23
+ </div>
24
+
25
+ {% include scripts.html %}
26
+
27
+ </body>
28
+ </html>
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: archive
3
+ ---
4
+
5
+ <h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
6
+
7
+ {% for post in paginator.posts %}
8
+ {% include archive-single.html %}
9
+ {% endfor %}
10
+
11
+ {% include paginator.html %}
@@ -0,0 +1,74 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
6
+ {% include page__hero.html %}
7
+ {% endif %}
8
+
9
+ {% if page.url != "/" and site.breadcrumbs %}
10
+ {% unless paginator %}
11
+ {% include breadcrumbs.html %}
12
+ {% endunless %}
13
+ {% endif %}
14
+
15
+ <div id="main" role="main">
16
+ {% include sidebar.html %}
17
+
18
+ <article class="page" itemscope itemtype="http://schema.org/CreativeWork">
19
+ {% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
20
+ {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
21
+ {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
22
+ {% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
23
+
24
+ <div class="page__inner-wrap">
25
+ {% unless page.header.overlay_color or page.header.overlay_image %}
26
+ <header>
27
+ {% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
28
+ {% if page.read_time %}
29
+ <p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
30
+ {% endif %}
31
+ </header>
32
+ {% endunless %}
33
+
34
+ <section class="page__content" itemprop="text">
35
+ {{ content }}
36
+ {% if page.link %}<div><a href="{{ page.link }}" class="btn">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %}
37
+ </section>
38
+
39
+ <footer class="page__meta">
40
+ {% if site.data.ui-text[site.locale].meta_label %}
41
+ <h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
42
+ {% endif %}
43
+ {% include page__taxonomy.html %}
44
+ {% if page.modified %}
45
+ <p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p>
46
+ {% elsif page.date %}
47
+ <p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
48
+ {% endif %}
49
+ </footer>
50
+
51
+ {% if page.share %}{% include social-share.html %}{% endif %}
52
+
53
+ {% include post_pagination.html %}
54
+ </div>
55
+
56
+ {% if site.comments.provider and page.comments %}
57
+ {% include comments.html %}
58
+ {% endif %}
59
+ </article>
60
+
61
+ {% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
62
+ {% if page.id and page.related and site.related_posts.size > 0 %}
63
+ <div class="page__related">
64
+ {% if site.data.ui-text[site.locale].related_label %}
65
+ <h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
66
+ {% endif %}
67
+ <div class="grid__wrapper">
68
+ {% for post in site.related_posts limit:4 %}
69
+ {% include archive-single.html type="grid" %}
70
+ {% endfor %}
71
+ </div>
72
+ </div>
73
+ {% endif %}
74
+ </div>
@@ -0,0 +1,20 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
6
+ {% include page__hero.html %}
7
+ {% endif %}
8
+
9
+ <div id="main" role="main">
10
+ <article class="splash" itemscope itemtype="http://schema.org/CreativeWork">
11
+ {% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
12
+ {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
13
+ {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
14
+ {% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
15
+
16
+ <section class="page__content" itemprop="text">
17
+ {{ content }}
18
+ </section>
19
+ </article>
20
+ </div>