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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56a5299d597e267b8ba641454984ff85eab76395ac8e03eeb18185c13c46fb33
4
- data.tar.gz: 8c9cb75e8c5bd6cc8f8ca45e130784de8a7b057702d4c615bbbf07280a2e6c9b
3
+ metadata.gz: 628c34d1373bbbec4616ea17372d9d07b824a77cda1b3ad981cf7d7b9d22773d
4
+ data.tar.gz: 76226b1d8bb77c4398599b5ccce6f68c398ee303df26f6ab3484c5114e76b9eb
5
5
  SHA512:
6
- metadata.gz: 9896564fd8d41b7bc317d697f3ced8ebddc6221b9c914f85de800855f35e6ae53b301d5dea6ddbf6ec16ed22ad1a199d27d3a2c1b41546b055cc3db08a69f42d
7
- data.tar.gz: 304f0c4d913401bfea61a62733b95120ac76ecdf29307e70fcabb9fa8e8d93be0014bbc8baf5ffb8756d6ebf75f2c45d225ed16c0bcc8fa009d8ce2d3fc59438
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.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
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:
@@ -1,5 +1,5 @@
1
1
  <!--
2
- Minimal Mistakes Jekyll Theme 4.27.0 by Michael Rose
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.27.0 by Michael Rose
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
@@ -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">&copy; {{ site.time | date: '%Y' }} <a href="{{ site.copyright_url | default: site.url }}">{{ site.copyright | default: site.title }}</a>. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/jekyll-themes/minimal-mistakes/" rel="nofollow">Minimal Mistakes</a>.</div>
26
+ <div class="page__footer-copyright">&copy; {% 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> &amp; <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 %}
@@ -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
 
@@ -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="fas fa-fw fa-share-alt" aria-hidden="true"></i><span> X</span>
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>
@@ -6,6 +6,8 @@ html {
6
6
  /* sticky footer fix */
7
7
  position: relative;
8
8
  min-height: 100%;
9
+ -webkit-font-smoothing: antialiased;
10
+ -moz-osx-font-smoothing: grayscale;
9
11
  }
10
12
 
11
13
  body {
@@ -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.0 by Michael Rose
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
- /* system typefaces */
19
- $serif: Georgia, Times, serif !default;
20
- $sans-serif: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI",
21
- "Helvetica Neue", "Lucida Grande", Arial, sans-serif !default;
22
- $monospace: Monaco, Consolas, "Lucida Console", monospace !default;
23
-
24
- /* sans serif typefaces */
25
- $sans-serif-narrow: $sans-serif !default;
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
- /* serif typefaces */
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;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.27.0 by Michael Rose
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.0
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-04-19 00:00:00.000000000 Z
12
+ date: 2025-07-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll