minimal-mistakes-jekyll 4.14.1 → 4.14.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/LICENSE +20 -20
- data/README.md +2 -2
- data/_data/ui-text.yml +1249 -1176
- data/_includes/analytics-providers/google-gtag.html +9 -9
- data/_includes/analytics-providers/google-universal.html +10 -10
- data/_includes/analytics-providers/google.html +13 -13
- data/_includes/analytics.html +13 -13
- data/_includes/archive-single.html +2 -2
- data/_includes/author-profile-custom-links.html +6 -6
- data/_includes/author-profile.html +271 -271
- data/_includes/breadcrumbs.html +39 -39
- data/_includes/comment.html +2 -2
- data/_includes/comments-providers/scripts.html +19 -19
- data/_includes/comments-providers/staticman.html +1 -3
- data/_includes/comments-providers/staticman_v2.html +1 -3
- data/_includes/comments-providers/utterances.html +19 -19
- data/_includes/comments.html +174 -174
- data/_includes/footer.html +19 -19
- data/_includes/head.html +41 -41
- data/_includes/masthead.html +34 -33
- data/_includes/scripts.html +1 -1
- data/_includes/search/algolia-search-scripts.html +54 -54
- data/_includes/search/search_form.html +18 -18
- data/_includes/seo.html +164 -164
- data/_includes/sidebar.html +1 -0
- data/_includes/video +13 -13
- data/_layouts/default.html +2 -2
- data/_layouts/home.html +13 -13
- data/_layouts/posts.html +29 -29
- data/_layouts/search.html +2 -2
- data/_layouts/single.html +95 -95
- data/_layouts/splash.html +22 -22
- data/_layouts/tags.html +42 -42
- data/_sass/minimal-mistakes.scss +2 -2
- data/_sass/minimal-mistakes/_archive.scss +437 -437
- data/_sass/minimal-mistakes/_base.scss +357 -357
- data/_sass/minimal-mistakes/_footer.scss +91 -91
- data/_sass/minimal-mistakes/_mixins.scss +91 -91
- data/_sass/minimal-mistakes/_navigation.scss +556 -556
- data/_sass/minimal-mistakes/_search.scss +126 -126
- data/_sass/minimal-mistakes/_sidebar.scss +318 -318
- data/_sass/minimal-mistakes/_tables.scss +2 -0
- data/_sass/minimal-mistakes/_variables.scss +159 -159
- data/_sass/minimal-mistakes/skins/_dark.scss +27 -27
- data/_sass/minimal-mistakes/skins/_neon.scss +56 -56
- data/_sass/minimal-mistakes/skins/_plum.scss +63 -63
- data/assets/js/_main.js +106 -106
- data/assets/js/lunr/lunr-en.js +2 -2
- data/assets/js/lunr/lunr-gr.js +2 -2
- data/assets/js/lunr/lunr-store.js +54 -54
- data/assets/js/lunr/lunr.js +3484 -3484
- data/assets/js/lunr/lunr.min.js +1 -6
- data/assets/js/main.min.js +6 -6
- metadata +3 -3
data/_includes/sidebar.html
CHANGED
@@ -14,6 +14,7 @@
|
|
14
14
|
{% endif %}
|
15
15
|
{% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
|
16
16
|
{% if s.text %}{{ s.text | markdownify }}{% endif %}
|
17
|
+
{% if s.nav %}{% include nav_list nav=s.nav %}{% endif %}
|
17
18
|
{% endfor %}
|
18
19
|
{% if page.sidebar.nav %}
|
19
20
|
{% include nav_list nav=page.sidebar.nav %}
|
data/_includes/video
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
{% capture video_id %}{{ include.id }}{% endcapture %}
|
2
|
-
{% capture video_provider %}{{ include.provider }}{% endcapture %}
|
3
|
-
|
4
|
-
<!-- Courtesy of embedresponsively.com //-->
|
5
|
-
<div class="responsive-video-container">
|
6
|
-
{% if video_provider == "vimeo" %}
|
7
|
-
<iframe src="https://player.vimeo.com/video/{{ video_id }}?dnt=true" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
8
|
-
{% elsif video_provider == "youtube" %}
|
9
|
-
<iframe src="https://www.youtube-nocookie.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
|
10
|
-
{% elsif video_provider == "google-drive" %}
|
11
|
-
<iframe src="https://drive.google.com/file/d/{{ video_id }}/preview" frameborder="0" allowfullscreen></iframe>
|
12
|
-
{% endif %}
|
13
|
-
</div>
|
1
|
+
{% capture video_id %}{{ include.id }}{% endcapture %}
|
2
|
+
{% capture video_provider %}{{ include.provider }}{% endcapture %}
|
3
|
+
|
4
|
+
<!-- Courtesy of embedresponsively.com //-->
|
5
|
+
<div class="responsive-video-container">
|
6
|
+
{% if video_provider == "vimeo" %}
|
7
|
+
<iframe src="https://player.vimeo.com/video/{{ video_id }}?dnt=true" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
8
|
+
{% elsif video_provider == "youtube" %}
|
9
|
+
<iframe src="https://www.youtube-nocookie.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
|
10
|
+
{% elsif video_provider == "google-drive" %}
|
11
|
+
<iframe src="https://drive.google.com/file/d/{{ video_id }}/preview" frameborder="0" allowfullscreen></iframe>
|
12
|
+
{% endif %}
|
13
|
+
</div>
|
data/_layouts/default.html
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
|
4
4
|
<!doctype html>
|
5
5
|
<!--
|
6
|
-
Minimal Mistakes Jekyll Theme 4.14.
|
7
|
-
Copyright 2013-
|
6
|
+
Minimal Mistakes Jekyll Theme 4.14.2 by Michael Rose
|
7
|
+
Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
|
8
8
|
Free for personal and commercial use under the MIT license
|
9
9
|
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
10
10
|
-->
|
data/_layouts/home.html
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
---
|
2
|
-
layout: archive
|
3
|
-
---
|
4
|
-
|
5
|
-
{{ content }}
|
6
|
-
|
7
|
-
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
8
|
-
|
9
|
-
{% for post in paginator.posts %}
|
10
|
-
{% include archive-single.html %}
|
11
|
-
{% endfor %}
|
12
|
-
|
13
|
-
{% include paginator.html %}
|
1
|
+
---
|
2
|
+
layout: archive
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
8
|
+
|
9
|
+
{% for post in paginator.posts %}
|
10
|
+
{% include archive-single.html %}
|
11
|
+
{% endfor %}
|
12
|
+
|
13
|
+
{% include paginator.html %}
|
data/_layouts/posts.html
CHANGED
@@ -1,29 +1,29 @@
|
|
1
|
-
---
|
2
|
-
layout: archive
|
3
|
-
---
|
4
|
-
|
5
|
-
{{ content }}
|
6
|
-
|
7
|
-
<ul class="taxonomy__index">
|
8
|
-
{% assign postsInYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
9
|
-
{% for year in postsInYear %}
|
10
|
-
<li>
|
11
|
-
<a href="#{{ year.name }}">
|
12
|
-
<strong>{{ year.name }}</strong> <span class="taxonomy__count">{{ year.items | size }}</span>
|
13
|
-
</a>
|
14
|
-
</li>
|
15
|
-
{% endfor %}
|
16
|
-
</ul>
|
17
|
-
|
18
|
-
{% assign postsByYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
19
|
-
{% for year in postsByYear %}
|
20
|
-
<section id="{{ year.name }}" class="taxonomy__section">
|
21
|
-
<h2 class="archive__subtitle">{{ year.name }}</h2>
|
22
|
-
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
23
|
-
{% for post in year.items %}
|
24
|
-
{% include archive-single.html type=page.entries_layout %}
|
25
|
-
{% endfor %}
|
26
|
-
</div>
|
27
|
-
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
28
|
-
</section>
|
29
|
-
{% endfor %}
|
1
|
+
---
|
2
|
+
layout: archive
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<ul class="taxonomy__index">
|
8
|
+
{% assign postsInYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
9
|
+
{% for year in postsInYear %}
|
10
|
+
<li>
|
11
|
+
<a href="#{{ year.name }}">
|
12
|
+
<strong>{{ year.name }}</strong> <span class="taxonomy__count">{{ year.items | size }}</span>
|
13
|
+
</a>
|
14
|
+
</li>
|
15
|
+
{% endfor %}
|
16
|
+
</ul>
|
17
|
+
|
18
|
+
{% assign postsByYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
19
|
+
{% for year in postsByYear %}
|
20
|
+
<section id="{{ year.name }}" class="taxonomy__section">
|
21
|
+
<h2 class="archive__subtitle">{{ year.name }}</h2>
|
22
|
+
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
23
|
+
{% for post in year.items %}
|
24
|
+
{% include archive-single.html type=page.entries_layout %}
|
25
|
+
{% endfor %}
|
26
|
+
</div>
|
27
|
+
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
28
|
+
</section>
|
29
|
+
{% endfor %}
|
data/_layouts/search.html
CHANGED
@@ -28,7 +28,7 @@ layout: default
|
|
28
28
|
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
29
29
|
<div id="results" class="results"></div>
|
30
30
|
{%- when "google" -%}
|
31
|
-
<form onsubmit="return
|
31
|
+
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id">
|
32
32
|
<input type="text" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
33
33
|
</form>
|
34
34
|
<div id="results" class="results">
|
@@ -39,4 +39,4 @@ layout: default
|
|
39
39
|
<div class="search-hits"></div>
|
40
40
|
{%- endcase -%}
|
41
41
|
</div>
|
42
|
-
</div>
|
42
|
+
</div>
|
data/_layouts/single.html
CHANGED
@@ -1,95 +1,95 @@
|
|
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
|
-
{% elsif page.header.video.id and page.header.video.provider %}
|
8
|
-
{% include page__hero_video.html %}
|
9
|
-
{% endif %}
|
10
|
-
|
11
|
-
{% if page.url != "/" and site.breadcrumbs %}
|
12
|
-
{% unless paginator %}
|
13
|
-
{% include breadcrumbs.html %}
|
14
|
-
{% endunless %}
|
15
|
-
{% endif %}
|
16
|
-
|
17
|
-
<div id="main" role="main">
|
18
|
-
{% include sidebar.html %}
|
19
|
-
|
20
|
-
<article class="page" itemscope itemtype="
|
21
|
-
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
22
|
-
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
23
|
-
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
24
|
-
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
|
25
|
-
|
26
|
-
<div class="page__inner-wrap">
|
27
|
-
{% unless page.header.overlay_color or page.header.overlay_image %}
|
28
|
-
<header>
|
29
|
-
{% if page.title %}<h1 id="page-title" class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
|
30
|
-
{% if page.read_time %}
|
31
|
-
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
|
32
|
-
{% endif %}
|
33
|
-
</header>
|
34
|
-
{% endunless %}
|
35
|
-
|
36
|
-
<section class="page__content" itemprop="text">
|
37
|
-
{% if page.toc %}
|
38
|
-
<aside class="sidebar__right {% if page.toc_sticky %}sticky{% endif %}">
|
39
|
-
<nav class="toc">
|
40
|
-
<header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
|
41
|
-
{% include toc.html sanitize=true html=content h_min=1 h_max=6 class="toc__menu" %}
|
42
|
-
</nav>
|
43
|
-
</aside>
|
44
|
-
{% endif %}
|
45
|
-
{{ content }}
|
46
|
-
{% if page.link %}<div><a href="{{ page.link }}" class="btn btn--primary">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %}
|
47
|
-
</section>
|
48
|
-
|
49
|
-
<footer class="page__meta">
|
50
|
-
{% if site.data.ui-text[site.locale].meta_label %}
|
51
|
-
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
|
52
|
-
{% endif %}
|
53
|
-
{% include page__taxonomy.html %}
|
54
|
-
{% if page.last_modified_at %}
|
55
|
-
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %d, %Y" }}</time></p>
|
56
|
-
{% elsif page.date %}
|
57
|
-
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" 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>
|
58
|
-
{% endif %}
|
59
|
-
</footer>
|
60
|
-
|
61
|
-
{% if page.share %}{% include social-share.html %}{% endif %}
|
62
|
-
|
63
|
-
{% include post_pagination.html %}
|
64
|
-
</div>
|
65
|
-
|
66
|
-
{% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
|
67
|
-
{% include comments.html %}
|
68
|
-
{% endif %}
|
69
|
-
</article>
|
70
|
-
|
71
|
-
{% comment %}<!-- only show related on a post page when `related: true` -->{% endcomment %}
|
72
|
-
{% if page.id and page.related and site.related_posts.size > 0 %}
|
73
|
-
<div class="page__related">
|
74
|
-
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
75
|
-
<div class="grid__wrapper">
|
76
|
-
{% for post in site.related_posts limit:4 %}
|
77
|
-
{% include archive-single.html type="grid" %}
|
78
|
-
{% endfor %}
|
79
|
-
</div>
|
80
|
-
</div>
|
81
|
-
{% comment %}<!-- otherwise show recent posts if no related when `related: true` -->{% endcomment %}
|
82
|
-
{% elsif page.id and page.related %}
|
83
|
-
<div class="page__related">
|
84
|
-
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
85
|
-
<div class="grid__wrapper">
|
86
|
-
{% for post in site.posts limit:4 %}
|
87
|
-
{% if post.id == page.id %}
|
88
|
-
{% continue %}
|
89
|
-
{% endif %}
|
90
|
-
{% include archive-single.html type="grid" %}
|
91
|
-
{% endfor %}
|
92
|
-
</div>
|
93
|
-
</div>
|
94
|
-
{% endif %}
|
95
|
-
</div>
|
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
|
+
{% elsif page.header.video.id and page.header.video.provider %}
|
8
|
+
{% include page__hero_video.html %}
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{% if page.url != "/" and site.breadcrumbs %}
|
12
|
+
{% unless paginator %}
|
13
|
+
{% include breadcrumbs.html %}
|
14
|
+
{% endunless %}
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
<div id="main" role="main">
|
18
|
+
{% include sidebar.html %}
|
19
|
+
|
20
|
+
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
|
21
|
+
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
22
|
+
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
23
|
+
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
24
|
+
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
|
25
|
+
|
26
|
+
<div class="page__inner-wrap">
|
27
|
+
{% unless page.header.overlay_color or page.header.overlay_image %}
|
28
|
+
<header>
|
29
|
+
{% if page.title %}<h1 id="page-title" class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
|
30
|
+
{% if page.read_time %}
|
31
|
+
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
|
32
|
+
{% endif %}
|
33
|
+
</header>
|
34
|
+
{% endunless %}
|
35
|
+
|
36
|
+
<section class="page__content" itemprop="text">
|
37
|
+
{% if page.toc %}
|
38
|
+
<aside class="sidebar__right {% if page.toc_sticky %}sticky{% endif %}">
|
39
|
+
<nav class="toc">
|
40
|
+
<header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
|
41
|
+
{% include toc.html sanitize=true html=content h_min=1 h_max=6 class="toc__menu" %}
|
42
|
+
</nav>
|
43
|
+
</aside>
|
44
|
+
{% endif %}
|
45
|
+
{{ content }}
|
46
|
+
{% if page.link %}<div><a href="{{ page.link }}" class="btn btn--primary">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %}
|
47
|
+
</section>
|
48
|
+
|
49
|
+
<footer class="page__meta">
|
50
|
+
{% if site.data.ui-text[site.locale].meta_label %}
|
51
|
+
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
|
52
|
+
{% endif %}
|
53
|
+
{% include page__taxonomy.html %}
|
54
|
+
{% if page.last_modified_at %}
|
55
|
+
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %d, %Y" }}</time></p>
|
56
|
+
{% elsif page.date %}
|
57
|
+
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" 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>
|
58
|
+
{% endif %}
|
59
|
+
</footer>
|
60
|
+
|
61
|
+
{% if page.share %}{% include social-share.html %}{% endif %}
|
62
|
+
|
63
|
+
{% include post_pagination.html %}
|
64
|
+
</div>
|
65
|
+
|
66
|
+
{% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
|
67
|
+
{% include comments.html %}
|
68
|
+
{% endif %}
|
69
|
+
</article>
|
70
|
+
|
71
|
+
{% comment %}<!-- only show related on a post page when `related: true` -->{% endcomment %}
|
72
|
+
{% if page.id and page.related and site.related_posts.size > 0 %}
|
73
|
+
<div class="page__related">
|
74
|
+
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
75
|
+
<div class="grid__wrapper">
|
76
|
+
{% for post in site.related_posts limit:4 %}
|
77
|
+
{% include archive-single.html type="grid" %}
|
78
|
+
{% endfor %}
|
79
|
+
</div>
|
80
|
+
</div>
|
81
|
+
{% comment %}<!-- otherwise show recent posts if no related when `related: true` -->{% endcomment %}
|
82
|
+
{% elsif page.id and page.related %}
|
83
|
+
<div class="page__related">
|
84
|
+
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
85
|
+
<div class="grid__wrapper">
|
86
|
+
{% for post in site.posts limit:4 %}
|
87
|
+
{% if post.id == page.id %}
|
88
|
+
{% continue %}
|
89
|
+
{% endif %}
|
90
|
+
{% include archive-single.html type="grid" %}
|
91
|
+
{% endfor %}
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
{% endif %}
|
95
|
+
</div>
|
data/_layouts/splash.html
CHANGED
@@ -1,22 +1,22 @@
|
|
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
|
-
{% elsif page.header.video.id and page.header.video.provider %}
|
8
|
-
{% include page__hero_video.html %}
|
9
|
-
{% endif %}
|
10
|
-
|
11
|
-
<div id="main" role="main">
|
12
|
-
<article class="splash" itemscope itemtype="
|
13
|
-
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
14
|
-
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
15
|
-
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
16
|
-
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
|
17
|
-
|
18
|
-
<section class="page__content" itemprop="text">
|
19
|
-
{{ content }}
|
20
|
-
</section>
|
21
|
-
</article>
|
22
|
-
</div>
|
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
|
+
{% elsif page.header.video.id and page.header.video.provider %}
|
8
|
+
{% include page__hero_video.html %}
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
<div id="main" role="main">
|
12
|
+
<article class="splash" itemscope itemtype="https://schema.org/CreativeWork">
|
13
|
+
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
14
|
+
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
15
|
+
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
16
|
+
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
|
17
|
+
|
18
|
+
<section class="page__content" itemprop="text">
|
19
|
+
{{ content }}
|
20
|
+
</section>
|
21
|
+
</article>
|
22
|
+
</div>
|
data/_layouts/tags.html
CHANGED
@@ -1,42 +1,42 @@
|
|
1
|
-
---
|
2
|
-
layout: archive
|
3
|
-
---
|
4
|
-
|
5
|
-
{{ content }}
|
6
|
-
|
7
|
-
{% assign tags_max = 0 %}
|
8
|
-
{% for tag in site.tags %}
|
9
|
-
{% if tag[1].size > tags_max %}
|
10
|
-
{% assign tags_max = tag[1].size %}
|
11
|
-
{% endif %}
|
12
|
-
{% endfor %}
|
13
|
-
|
14
|
-
<ul class="taxonomy__index">
|
15
|
-
{% for i in (1..tags_max) reversed %}
|
16
|
-
{% for tag in site.tags %}
|
17
|
-
{% if tag[1].size == i %}
|
18
|
-
<li>
|
19
|
-
<a href="#{{ tag[0] | slugify }}">
|
20
|
-
<strong>{{ tag[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
|
21
|
-
</a>
|
22
|
-
</li>
|
23
|
-
{% endif %}
|
24
|
-
{% endfor %}
|
25
|
-
{% endfor %}
|
26
|
-
</ul>
|
27
|
-
|
28
|
-
{% for i in (1..tags_max) reversed %}
|
29
|
-
{% for tag in site.tags %}
|
30
|
-
{% if tag[1].size == i %}
|
31
|
-
<section id="{{ tag[0] | slugify | downcase }}" class="taxonomy__section">
|
32
|
-
<h2 class="archive__subtitle">{{ tag[0] }}</h2>
|
33
|
-
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
34
|
-
{% for post in tag.last %}
|
35
|
-
{% include archive-single.html type=page.entries_layout %}
|
36
|
-
{% endfor %}
|
37
|
-
</div>
|
38
|
-
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
39
|
-
</section>
|
40
|
-
{% endif %}
|
41
|
-
{% endfor %}
|
42
|
-
{% endfor %}
|
1
|
+
---
|
2
|
+
layout: archive
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
{% assign tags_max = 0 %}
|
8
|
+
{% for tag in site.tags %}
|
9
|
+
{% if tag[1].size > tags_max %}
|
10
|
+
{% assign tags_max = tag[1].size %}
|
11
|
+
{% endif %}
|
12
|
+
{% endfor %}
|
13
|
+
|
14
|
+
<ul class="taxonomy__index">
|
15
|
+
{% for i in (1..tags_max) reversed %}
|
16
|
+
{% for tag in site.tags %}
|
17
|
+
{% if tag[1].size == i %}
|
18
|
+
<li>
|
19
|
+
<a href="#{{ tag[0] | slugify }}">
|
20
|
+
<strong>{{ tag[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
|
21
|
+
</a>
|
22
|
+
</li>
|
23
|
+
{% endif %}
|
24
|
+
{% endfor %}
|
25
|
+
{% endfor %}
|
26
|
+
</ul>
|
27
|
+
|
28
|
+
{% for i in (1..tags_max) reversed %}
|
29
|
+
{% for tag in site.tags %}
|
30
|
+
{% if tag[1].size == i %}
|
31
|
+
<section id="{{ tag[0] | slugify | downcase }}" class="taxonomy__section">
|
32
|
+
<h2 class="archive__subtitle">{{ tag[0] }}</h2>
|
33
|
+
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
34
|
+
{% for post in tag.last %}
|
35
|
+
{% include archive-single.html type=page.entries_layout %}
|
36
|
+
{% endfor %}
|
37
|
+
</div>
|
38
|
+
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
39
|
+
</section>
|
40
|
+
{% endif %}
|
41
|
+
{% endfor %}
|
42
|
+
{% endfor %}
|