minimal-mistakes-jekyll 4.27.0 → 4.27.2
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/_includes/copyright.html +1 -1
- data/_includes/copyright.js +1 -1
- data/_includes/footer.html +7 -2
- data/_includes/gallery +3 -3
- data/_includes/masthead.html +2 -2
- data/_includes/seo.html +3 -3
- data/_includes/social-share.html +5 -1
- data/_sass/minimal-mistakes/_base.scss +2 -0
- data/_sass/minimal-mistakes/_buttons.scss +5 -2
- data/_sass/minimal-mistakes/_copyright.scss +1 -1
- data/_sass/minimal-mistakes/_utilities.scss +1 -0
- data/_sass/minimal-mistakes/_variables.scss +44 -9
- data/assets/js/main.min.js +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 628c34d1373bbbec4616ea17372d9d07b824a77cda1b3ad981cf7d7b9d22773d
|
4
|
+
data.tar.gz: 76226b1d8bb77c4398599b5ccce6f68c398ee303df26f6ab3484c5114e76b9eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2d557436280bfc07dec8fe934ab108610d07fdcdaa69b8886099e102f7f6d493da9d3f2952fb51b820c2573451b98e1e83fd56b51c225557ea8829504a9342e
|
7
|
+
data.tar.gz: e803665f2b0e3d230ff0be49e7d88393e801a6d026ef3339a2e386345571a450b82b34609194bc343b98787bbab3a36c9904fe1ae5483c87a5e4376081cc9367
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,30 @@
|
|
4
4
|
|
5
5
|
### Enhancements
|
6
6
|
|
7
|
+
- Hide page__footer-follow if there are no links nor atom feed. (#5279)
|
8
|
+
- Add HTML escaping for some titles, labels and metada that was missing. (#5276)
|
9
|
+
- Add optional `footer.since` for copyright time range. (#5275)
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
- Add `escape_once` to gallery title and alt text.
|
14
|
+
|
15
|
+
## [4.27.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.1)
|
16
|
+
|
17
|
+
### Enhancements
|
18
|
+
|
19
|
+
- Add a "Share on Bluesky" button (#5179)
|
20
|
+
- Add preset variables for modern font stack (#5033)
|
21
|
+
- Update X share button to match brand color (#5245)
|
22
|
+
|
23
|
+
### Bug Fixes
|
24
|
+
|
25
|
+
- Fix wrong icon and color for X share button.
|
26
|
+
|
27
|
+
## [4.27.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.0)
|
28
|
+
|
29
|
+
### Enhancements
|
30
|
+
|
7
31
|
- Add RTL Support. [#4886](https://github.com/mmistakes/minimal-mistakes/pull/4886)
|
8
32
|
- Add missing Polish translation. [#4890](https://github.com/mmistakes/minimal-mistakes/pull/4890)
|
9
33
|
- Rewrite most directions with [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
data/README.md
CHANGED
@@ -121,7 +121,7 @@ To install:
|
|
121
121
|
bundle
|
122
122
|
```
|
123
123
|
|
124
|
-
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.27.
|
124
|
+
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.27.2"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
125
125
|
|
126
126
|
<!--
|
127
127
|
Dev note: The version number is currently hard-coded in these files:
|
data/_includes/copyright.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<!--
|
2
|
-
Minimal Mistakes Jekyll Theme 4.27.
|
2
|
+
Minimal Mistakes Jekyll Theme 4.27.2 by Michael Rose
|
3
3
|
Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
|
4
4
|
Free for personal and commercial use under the MIT license
|
5
5
|
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
data/_includes/copyright.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Minimal Mistakes Jekyll Theme 4.27.
|
2
|
+
* Minimal Mistakes Jekyll Theme 4.27.2 by Michael Rose
|
3
3
|
* Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
|
4
4
|
* Free for personal and commercial use under the MIT license
|
5
5
|
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
data/_includes/footer.html
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
{% unless site.atom_feed.hide %}
|
2
|
+
{% assign show_atom = true %}
|
3
|
+
{% endunless %}
|
4
|
+
{% if site.footer.links or show_atom %}
|
1
5
|
<div class="page__footer-follow">
|
2
6
|
<ul class="social-icons">
|
3
7
|
{% if site.data.ui-text[site.locale].follow_label %}
|
@@ -7,7 +11,7 @@
|
|
7
11
|
{% if site.footer.links %}
|
8
12
|
{% for link in site.footer.links %}
|
9
13
|
{% if link.label and link.url %}
|
10
|
-
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
|
14
|
+
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label | escape_once | strip }}</a></li>
|
11
15
|
{% endif %}
|
12
16
|
{% endfor %}
|
13
17
|
{% endif %}
|
@@ -17,5 +21,6 @@
|
|
17
21
|
{% endunless %}
|
18
22
|
</ul>
|
19
23
|
</div>
|
24
|
+
{% endif %}
|
20
25
|
|
21
|
-
<div class="page__footer-copyright">© {
|
26
|
+
<div class="page__footer-copyright">© {% assign site_time = site.time | date: '%Y' %}{% if site.footer.since and site_time != site.footer.since %}{{ site.footer.since }} - {% endif %}{{ site_time }} <a href="{{ site.copyright_url | default: site.url }}">{{ site.copyright | default: site.title | escape_once | strip }}</a>. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/jekyll-themes/minimal-mistakes/" rel="nofollow">Minimal Mistakes</a>.</div>
|
data/_includes/gallery
CHANGED
@@ -20,13 +20,13 @@
|
|
20
20
|
{% for img in gallery %}
|
21
21
|
{% if img.url %}
|
22
22
|
<a href="{{ img.url | relative_url }}"
|
23
|
-
{% if img.title %}title="{{ img.title }}"{% endif %}>
|
23
|
+
{% if img.title %}title="{{ img.title | escape_once }}"{% endif %}>
|
24
24
|
<img src="{{ img.image_path | relative_url }}"
|
25
|
-
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
25
|
+
alt="{% if img.alt %}{{ img.alt | escape_once }}{% endif %}">
|
26
26
|
</a>
|
27
27
|
{% else %}
|
28
28
|
<img src="{{ img.image_path | relative_url }}"
|
29
|
-
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
29
|
+
alt="{% if img.alt %}{{ img.alt | escape_once }}{% endif %}">
|
30
30
|
{% endif %}
|
31
31
|
{% endfor %}
|
32
32
|
{% if include.caption %}
|
data/_includes/masthead.html
CHANGED
@@ -8,8 +8,8 @@
|
|
8
8
|
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt="{{ site.masthead_title | default: site.title }}"></a>
|
9
9
|
{% endunless %}
|
10
10
|
<a class="site-title" href="{{ '/' | relative_url }}">
|
11
|
-
{{ site.masthead_title | default: site.title }}
|
12
|
-
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle }}</span>{% endif %}
|
11
|
+
{{ site.masthead_title | default: site.title | escape_once | strip }}
|
12
|
+
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle | escape_once | strip }}</span>{% endif %}
|
13
13
|
</a>
|
14
14
|
<ul class="visible-links">
|
15
15
|
{%- for link in site.data.navigation.main -%}
|
data/_includes/seo.html
CHANGED
@@ -39,15 +39,15 @@
|
|
39
39
|
<meta name="description" content="{{ seo_description }}">
|
40
40
|
|
41
41
|
{% if author.name %}
|
42
|
-
<meta name="author" content="{{ author.name | default: author }}">
|
42
|
+
<meta name="author" content="{{ author.name | default: author | escape_once | strip }}">
|
43
43
|
{% if og_type == "article" %}
|
44
|
-
<meta property="article:author" content="{{ author.name | default: author }}">
|
44
|
+
<meta property="article:author" content="{{ author.name | default: author | escape_once | strip }}">
|
45
45
|
{% endif %}
|
46
46
|
{% endif %}
|
47
47
|
|
48
48
|
<meta property="og:type" content="{{ og_type }}">
|
49
49
|
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
|
50
|
-
<meta property="og:site_name" content="{{ site.title }}">
|
50
|
+
<meta property="og:site_name" content="{{ site.title | escape_once | strip }}">
|
51
51
|
<meta property="og:title" content="{{ page_title }}">
|
52
52
|
<meta property="og:url" content="{{ canonical_url }}">
|
53
53
|
|
data/_includes/social-share.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
|
3
3
|
|
4
4
|
<a href="https://x.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--x" aria-label="Share on X" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} X">
|
5
|
-
<i class="
|
5
|
+
<i class="fab fa-fw fa-x-twitter" aria-hidden="true"></i><span> X</span>
|
6
6
|
</a>
|
7
7
|
|
8
8
|
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" aria-label="Share on Facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook">
|
@@ -12,4 +12,8 @@
|
|
12
12
|
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" aria-label="Share on LinkedIn" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn">
|
13
13
|
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span>
|
14
14
|
</a>
|
15
|
+
|
16
|
+
<a href="https://bsky.app/intent/compose?text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--bluesky" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Bluesky">
|
17
|
+
<i class="fab fa-fw fa-bluesky" aria-hidden="true"></i><span> Bluesky</span>
|
18
|
+
</a>
|
15
19
|
</section>
|
@@ -37,10 +37,13 @@
|
|
37
37
|
(warning, $warning-color),
|
38
38
|
(danger, $danger-color),
|
39
39
|
(info, $info-color),
|
40
|
+
/* brands */
|
41
|
+
(bluesky, $bluesky-color),
|
40
42
|
(facebook, $facebook-color),
|
41
|
-
(twitter, $twitter-color),
|
42
43
|
(linkedin, $linkedin-color),
|
43
|
-
(mastodon, $mastodon-color)
|
44
|
+
(mastodon, $mastodon-color),
|
45
|
+
(twitter, $twitter-color),
|
46
|
+
(x, $x-color);
|
44
47
|
|
45
48
|
@each $buttoncolor, $color in $buttoncolors {
|
46
49
|
&--#{$buttoncolor} {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Minimal Mistakes Jekyll Theme 4.27.
|
2
|
+
* Minimal Mistakes Jekyll Theme 4.27.2 by Michael Rose
|
3
3
|
* Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
|
4
4
|
* Free for personal and commercial use under the MIT license
|
5
5
|
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
@@ -219,6 +219,7 @@ $text-alignments: left, right, start, end, center, justify;
|
|
219
219
|
$stackoverflow-color: ".fa-stack-exchange, .fa-stack-overflow",
|
220
220
|
$tumblr-color: ".fa-tumblr, .fa-tumblr-square",
|
221
221
|
$twitter-color: ".fa-twitter, .fa-twitter-square",
|
222
|
+
$x-color: ".fa-x-twitter, .fa-square-x-twitter",
|
222
223
|
$vimeo-color: ".fa-vimeo, .fa-vimeo-square, .fa-vimeo-v",
|
223
224
|
$vine-color: ".fa-vine",
|
224
225
|
$xing-color: ".fa-xing, .fa-xing-square",
|
@@ -15,23 +15,56 @@ $doc-font-size-x-large: $doc-font-size * 1.375 !default;
|
|
15
15
|
$paragraph-indent: false !default; // true, false (default)
|
16
16
|
$indent-var: 1.3em !default;
|
17
17
|
|
18
|
-
/*
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
$
|
23
|
-
|
24
|
-
|
25
|
-
$
|
18
|
+
/* Modern font stack */
|
19
|
+
/* https://github.com/system-fonts/modern-font-stacks */
|
20
|
+
|
21
|
+
/* Sans serif - modern font stack */
|
22
|
+
$system-ui: system-ui, sans-serif;
|
23
|
+
$humanist: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
|
24
|
+
$geometric-humanist: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
|
25
|
+
$classical-humanist: Optima, Candara, 'Noto Sans', source-sans-pro, sans-serif;
|
26
|
+
$neo-grotesque: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
|
27
|
+
$industrial: Bahnschrift, 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif;
|
28
|
+
$rounded-sans: ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT', 'Arial Rounded MT Bold', Calibri, source-sans-pro, sans-serif;
|
29
|
+
|
30
|
+
/* sans serif typefaces - defined in Minimal Mistakes */
|
26
31
|
$helvetica: Helvetica, "Helvetica Neue", Arial, sans-serif !default;
|
27
32
|
|
28
|
-
/*
|
33
|
+
/* Serif - modern font stack */
|
34
|
+
$transitional: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, serif;
|
35
|
+
$old-style: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;;
|
36
|
+
$monospace-slab-serif: 'Nimbus Mono PS', 'Courier New', monospace;
|
37
|
+
$slab-serif: Rockwell, 'Rockwell Nova', 'Roboto Slab', 'DejaVu Serif', 'Sitka Small', serif;
|
38
|
+
$antique: Superclarendon, 'Bookman Old Style', 'URW Bookman', 'URW Bookman L', 'Georgia Pro', Georgia, serif;
|
39
|
+
$didone: Didot, 'Bodoni MT', 'Noto Serif Display', 'URW Palladio L', P052, Sylfaen, serif;
|
40
|
+
|
41
|
+
/* serif typefaces - defined in Minimal Mistakes */
|
29
42
|
$georgia: Georgia, serif !default;
|
30
43
|
$times: Times, serif !default;
|
31
44
|
$bodoni: "Bodoni MT", serif !default;
|
32
45
|
$calisto: "Calisto MT", serif !default;
|
33
46
|
$garamond: Garamond, serif !default;
|
34
47
|
|
48
|
+
/* Monospace - modern font stack */
|
49
|
+
$monospace-code: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
|
50
|
+
|
51
|
+
/* Handwritten - modern font stack */
|
52
|
+
$handwritten: 'Segoe Print', 'Bradley Hand', Chilanka, TSCu_Comic, casual, cursive;
|
53
|
+
|
54
|
+
/* Defaults used in Minimal mistakes */
|
55
|
+
$default-sans-serif: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
|
56
|
+
$default-serif: Georgia, Times, serif;
|
57
|
+
$default-monospace: Monaco, Consolas, "Lucida Console", monospace;
|
58
|
+
|
59
|
+
/* Emoji native from modern font stack - add to the end of the font-face for native emojis */
|
60
|
+
$emoji-native: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
61
|
+
|
62
|
+
/* system typefaces */
|
63
|
+
$serif: $default-serif !default;
|
64
|
+
$sans-serif: $default-sans-serif !default;
|
65
|
+
$sans-serif-narrow: $sans-serif !default;
|
66
|
+
$monospace: $default-monospace !default;
|
67
|
+
|
35
68
|
$global-font-family: $sans-serif !default;
|
36
69
|
$header-font-family: $sans-serif !default;
|
37
70
|
$caption-font-family: $serif !default;
|
@@ -90,6 +123,7 @@ $yiq-debug: false !default;
|
|
90
123
|
/* brands */
|
91
124
|
$behance-color: #1769ff !default;
|
92
125
|
$bitbucket-color: #205081 !default;
|
126
|
+
$bluesky-color: #1083fe !default;
|
93
127
|
$dribbble-color: #ea4c89 !default;
|
94
128
|
$facebook-color: #3b5998 !default;
|
95
129
|
$flickr-color: #ff0084 !default;
|
@@ -108,6 +142,7 @@ $soundcloud-color: #ff3300 !default;
|
|
108
142
|
$stackoverflow-color: #fe7a15 !default;
|
109
143
|
$tumblr-color: #32506d !default;
|
110
144
|
$twitter-color: #55acee !default;
|
145
|
+
$x-color: #0f1419 !default;
|
111
146
|
$vimeo-color: #1ab7ea !default;
|
112
147
|
$vine-color: #00bf8f !default;
|
113
148
|
$youtube-color: #bb0000 !default;
|
data/assets/js/main.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Minimal Mistakes Jekyll Theme 4.27.
|
2
|
+
* Minimal Mistakes Jekyll Theme 4.27.2 by Michael Rose
|
3
3
|
* Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
|
4
4
|
* Free for personal and commercial use under the MIT license
|
5
5
|
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minimal-mistakes-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.27.
|
4
|
+
version: 4.27.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Rose
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-
|
12
|
+
date: 2025-07-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|