minimal-mistakes-jekyll 4.11.2 → 4.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -0
- data/README.md +1 -1
- data/_data/ui-text.yml +1080 -1034
- 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/comments.html +170 -170
- data/_includes/feature_row +3 -0
- data/_includes/page__hero.html +1 -1
- data/_includes/scripts.html +28 -26
- data/_includes/search/google-search-scripts.html +30 -0
- data/_includes/search/search_form.html +17 -10
- data/_includes/seo.html +164 -166
- data/_layouts/categories.html +7 -13
- data/_layouts/default.html +1 -1
- data/_layouts/posts.html +29 -29
- data/_layouts/search.html +7 -0
- data/_layouts/single.html +1 -1
- data/_layouts/splash.html +21 -21
- data/_layouts/tags.html +42 -48
- data/_sass/minimal-mistakes.scss +1 -1
- data/_sass/minimal-mistakes/_archive.scss +27 -0
- data/_sass/minimal-mistakes/_footer.scss +91 -85
- data/_sass/minimal-mistakes/_navigation.scss +0 -6
- data/_sass/minimal-mistakes/_sidebar.scss +13 -0
- data/_sass/minimal-mistakes/_utilities.scss +524 -520
- data/_sass/minimal-mistakes/_variables.scss +154 -153
- data/assets/js/main.min.js +5 -5
- metadata +4 -3
data/_layouts/categories.html
CHANGED
@@ -4,13 +4,14 @@ layout: archive
|
|
4
4
|
|
5
5
|
{{ content }}
|
6
6
|
|
7
|
+
{% assign categories_max = 0 %}
|
8
|
+
{% for category in site.categories %}
|
9
|
+
{% if category[1].size > categories_max %}
|
10
|
+
{% assign categories_max = category[1].size %}
|
11
|
+
{% endif %}
|
12
|
+
{% endfor %}
|
13
|
+
|
7
14
|
<ul class="taxonomy__index">
|
8
|
-
{% assign categories_max = 0 %}
|
9
|
-
{% for category in site.categories %}
|
10
|
-
{% if category[1].size > categories_max %}
|
11
|
-
{% assign categories_max = category[1].size %}
|
12
|
-
{% endif %}
|
13
|
-
{% endfor %}
|
14
15
|
{% for i in (1..categories_max) reversed %}
|
15
16
|
{% for category in site.categories %}
|
16
17
|
{% if category[1].size == i %}
|
@@ -24,13 +25,6 @@ layout: archive
|
|
24
25
|
{% endfor %}
|
25
26
|
</ul>
|
26
27
|
|
27
|
-
{% assign categories_max = 0 %}
|
28
|
-
{% for category in site.categories %}
|
29
|
-
{% if category[1].size > categories_max %}
|
30
|
-
{% assign categories_max = category[1].size %}
|
31
|
-
{% endif %}
|
32
|
-
{% endfor %}
|
33
|
-
|
34
28
|
{% for i in (1..categories_max) reversed %}
|
35
29
|
{% for category in site.categories %}
|
36
30
|
{% if category[1].size == i %}
|
data/_layouts/default.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
<!doctype html>
|
5
5
|
<!--
|
6
|
-
Minimal Mistakes Jekyll Theme 4.
|
6
|
+
Minimal Mistakes Jekyll Theme 4.12.0 by Michael Rose
|
7
7
|
Copyright 2013-2018 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.txt
|
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
@@ -27,6 +27,13 @@ layout: default
|
|
27
27
|
{%- when "lunr" -%}
|
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
|
+
{%- when "google" -%}
|
31
|
+
<form onsubmit="return executeQuery();" id="cse-search-box-form-id">
|
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
|
+
</form>
|
34
|
+
<div id="results" class="results">
|
35
|
+
<gcse:searchresults-only></gcse:searchresults-only>
|
36
|
+
</div>
|
30
37
|
{%- when "algolia" -%}
|
31
38
|
<div class="search-searchbar"></div>
|
32
39
|
<div class="search-hits"></div>
|
data/_layouts/single.html
CHANGED
@@ -35,7 +35,7 @@ layout: default
|
|
35
35
|
|
36
36
|
<section class="page__content" itemprop="text">
|
37
37
|
{% if page.toc %}
|
38
|
-
<aside class="sidebar__right">
|
38
|
+
<aside class="sidebar__right {% if page.toc_sticky %}sticky{% endif %}">
|
39
39
|
<nav class="toc">
|
40
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
41
|
{% include toc.html sanitize=true html=content h_min=2 h_max=3 class="toc__menu" %}
|
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="http://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>
|
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="http://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
22
|
</div>
|
data/_layouts/tags.html
CHANGED
@@ -1,48 +1,42 @@
|
|
1
|
-
---
|
2
|
-
layout: archive
|
3
|
-
---
|
4
|
-
|
5
|
-
{{ content }}
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
{%
|
10
|
-
{%
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
{% for
|
29
|
-
{%
|
30
|
-
{%
|
31
|
-
|
32
|
-
{
|
33
|
-
|
34
|
-
{% for
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
<
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
</div>
|
44
|
-
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
45
|
-
</section>
|
46
|
-
{% endif %}
|
47
|
-
{% endfor %}
|
48
|
-
{% 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 %}
|
data/_sass/minimal-mistakes.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Minimal Mistakes Jekyll Theme 4.
|
2
|
+
* Minimal Mistakes Jekyll Theme 4.12.0 by Michael Rose
|
3
3
|
* Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
4
4
|
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
|
5
5
|
*/
|
@@ -63,13 +63,40 @@
|
|
63
63
|
}
|
64
64
|
|
65
65
|
.archive__item-teaser {
|
66
|
+
position: relative;
|
66
67
|
border-radius: $border-radius;
|
67
68
|
overflow: hidden;
|
69
|
+
|
68
70
|
img {
|
69
71
|
width: 100%;
|
70
72
|
}
|
71
73
|
}
|
72
74
|
|
75
|
+
.archive__item-caption {
|
76
|
+
position: absolute;
|
77
|
+
bottom: 0;
|
78
|
+
right: 0;
|
79
|
+
margin: 0 auto;
|
80
|
+
padding: 2px 5px;
|
81
|
+
color: #fff;
|
82
|
+
font-family: $caption-font-family;
|
83
|
+
font-size: $type-size-8;
|
84
|
+
background: #000;
|
85
|
+
text-align: right;
|
86
|
+
z-index: 5;
|
87
|
+
opacity: 0.5;
|
88
|
+
border-radius: $border-radius 0 0 0;
|
89
|
+
|
90
|
+
@include breakpoint($large) {
|
91
|
+
padding: 5px 10px;
|
92
|
+
}
|
93
|
+
|
94
|
+
a {
|
95
|
+
color: #fff;
|
96
|
+
text-decoration: none;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
73
100
|
/*
|
74
101
|
List view
|
75
102
|
========================================================================== */
|
@@ -1,85 +1,91 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
FOOTER
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
.page__footer {
|
6
|
-
@include clearfix;
|
7
|
-
float: left;
|
8
|
-
margin-left: 0;
|
9
|
-
margin-right: 0;
|
10
|
-
width: 100%;
|
11
|
-
clear: both;
|
12
|
-
/* sticky footer fix start */
|
13
|
-
position: absolute;
|
14
|
-
bottom: 0;
|
15
|
-
height: auto;
|
16
|
-
/* sticky footer fix end */
|
17
|
-
margin-top: 3em;
|
18
|
-
color: $muted-text-color;
|
19
|
-
-webkit-animation: $intro-transition;
|
20
|
-
animation: $intro-transition;
|
21
|
-
-webkit-animation-delay: 0.45s;
|
22
|
-
animation-delay: 0.45s;
|
23
|
-
background-color: $footer-background-color;
|
24
|
-
|
25
|
-
footer {
|
26
|
-
@include clearfix;
|
27
|
-
margin-left: auto;
|
28
|
-
margin-right: auto;
|
29
|
-
margin-top: 2em;
|
30
|
-
max-width: 100%;
|
31
|
-
padding: 0 1em 2em;
|
32
|
-
|
33
|
-
@include breakpoint($x-large) {
|
34
|
-
max-width: $x-large;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
a {
|
39
|
-
color: inherit;
|
40
|
-
text-decoration: none;
|
41
|
-
|
42
|
-
&:hover {
|
43
|
-
text-decoration: underline;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
.fas,
|
48
|
-
.fab,
|
49
|
-
.far,
|
50
|
-
.fal {
|
51
|
-
color: $muted-text-color;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
.page__footer-copyright {
|
56
|
-
font-family: $global-font-family;
|
57
|
-
font-size: $type-size-7;
|
58
|
-
}
|
59
|
-
|
60
|
-
.page__footer-follow {
|
61
|
-
ul {
|
62
|
-
margin: 0;
|
63
|
-
padding: 0;
|
64
|
-
list-style-type: none;
|
65
|
-
}
|
66
|
-
|
67
|
-
li {
|
68
|
-
display: inline-block;
|
69
|
-
padding-top: 5px;
|
70
|
-
padding-bottom: 5px;
|
71
|
-
font-family: $sans-serif-narrow;
|
72
|
-
font-size: $type-size-6;
|
73
|
-
text-transform: uppercase;
|
74
|
-
}
|
75
|
-
|
76
|
-
li + li:before {
|
77
|
-
content: "";
|
78
|
-
padding-right: 5px;
|
79
|
-
}
|
80
|
-
|
81
|
-
a {
|
82
|
-
padding-right: 10px;
|
83
|
-
font-weight: bold;
|
84
|
-
}
|
85
|
-
|
1
|
+
/* ==========================================================================
|
2
|
+
FOOTER
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.page__footer {
|
6
|
+
@include clearfix;
|
7
|
+
float: left;
|
8
|
+
margin-left: 0;
|
9
|
+
margin-right: 0;
|
10
|
+
width: 100%;
|
11
|
+
clear: both;
|
12
|
+
/* sticky footer fix start */
|
13
|
+
position: absolute;
|
14
|
+
bottom: 0;
|
15
|
+
height: auto;
|
16
|
+
/* sticky footer fix end */
|
17
|
+
margin-top: 3em;
|
18
|
+
color: $muted-text-color;
|
19
|
+
-webkit-animation: $intro-transition;
|
20
|
+
animation: $intro-transition;
|
21
|
+
-webkit-animation-delay: 0.45s;
|
22
|
+
animation-delay: 0.45s;
|
23
|
+
background-color: $footer-background-color;
|
24
|
+
|
25
|
+
footer {
|
26
|
+
@include clearfix;
|
27
|
+
margin-left: auto;
|
28
|
+
margin-right: auto;
|
29
|
+
margin-top: 2em;
|
30
|
+
max-width: 100%;
|
31
|
+
padding: 0 1em 2em;
|
32
|
+
|
33
|
+
@include breakpoint($x-large) {
|
34
|
+
max-width: $x-large;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
a {
|
39
|
+
color: inherit;
|
40
|
+
text-decoration: none;
|
41
|
+
|
42
|
+
&:hover {
|
43
|
+
text-decoration: underline;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.fas,
|
48
|
+
.fab,
|
49
|
+
.far,
|
50
|
+
.fal {
|
51
|
+
color: $muted-text-color;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.page__footer-copyright {
|
56
|
+
font-family: $global-font-family;
|
57
|
+
font-size: $type-size-7;
|
58
|
+
}
|
59
|
+
|
60
|
+
.page__footer-follow {
|
61
|
+
ul {
|
62
|
+
margin: 0;
|
63
|
+
padding: 0;
|
64
|
+
list-style-type: none;
|
65
|
+
}
|
66
|
+
|
67
|
+
li {
|
68
|
+
display: inline-block;
|
69
|
+
padding-top: 5px;
|
70
|
+
padding-bottom: 5px;
|
71
|
+
font-family: $sans-serif-narrow;
|
72
|
+
font-size: $type-size-6;
|
73
|
+
text-transform: uppercase;
|
74
|
+
}
|
75
|
+
|
76
|
+
li + li:before {
|
77
|
+
content: "";
|
78
|
+
padding-right: 5px;
|
79
|
+
}
|
80
|
+
|
81
|
+
a {
|
82
|
+
padding-right: 10px;
|
83
|
+
font-weight: bold;
|
84
|
+
}
|
85
|
+
|
86
|
+
.social-icons {
|
87
|
+
a {
|
88
|
+
white-space: nowrap;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|