minimal-mistakes-jekyll 4.27.1 → 4.27.3

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: 5c49579eaaaaaf711e7fd3acf530b12045012ecf53fc7d49e89f2b0782b190a5
4
- data.tar.gz: 6be772c33fbe5d17f5d66d04bbba5fda49afdc3cc8e7e437a1dcef4920cc7a24
3
+ metadata.gz: 89ca37e3bbcf2e58db9a4c10700c3f1ee858f4f234dec1684f24c2c5027f4dc6
4
+ data.tar.gz: 1f97094ab56124562af819e2849728523f728826456007574f44e60570957aa7
5
5
  SHA512:
6
- metadata.gz: 622fadf36f088e7568894d0894cec5d4a97612f0491c3ec6bda50b7c9cb0de610bf36fdbef0777edca073fe979cb63dad510258baa9c3217fcc9fc8664a310b7
7
- data.tar.gz: 506cf5f4d3c5c25fd28cb28a0783bc5d1a36e81a43d47946d8e11a694a236e428008a5a3cb9e54209814a7abf920ca8d7f3d3eaf684a3d8c1afa0b3113f7c06e
6
+ metadata.gz: 3160f83349e7941ff1670dde64add35cbd93b9ec959eb12be9fb5eab29aee6982421326580528b5c540324ef6ae272f2c951028b08eca2d0b7d336b902c3d035
7
+ data.tar.gz: c227dd46ee820be367c1e75ee382fe7cdbb315103bbf2a38d07e6793ec17348dced570e1bc8763adce2762f24181978830b9f5e1e553cb3528fdaebdead23d97
data/CHANGELOG.md CHANGED
@@ -1,11 +1,32 @@
1
1
  # Changelog
2
2
 
3
+ ## Unreleased
4
+
5
+ ## [4.27.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.3)
6
+
7
+ ### Bug Fixes
8
+
9
+ - Add explicit CSS rules for `.sr-only` following Font Awesome 7's changes. (#5296)
10
+
11
+ ## [4.27.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.2)
12
+
13
+ ### Enhancements
14
+
15
+ - Hide `.page__footer-follow` if there are no links nor atom feed. (#5279)
16
+ - Add HTML escaping for some titles, labels and metada that was missing. (#5276)
17
+ - Add optional `footer.since` for copyright time range. (#5275)
18
+
19
+ ### Bug Fixes
20
+
21
+ - Add `escape_once` to gallery title and alt text.
22
+
3
23
  ## [4.27.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.1)
4
24
 
5
25
  ### Enhancements
6
26
 
7
27
  - Add a "Share on Bluesky" button (#5179)
8
28
  - Add preset variables for modern font stack (#5033)
29
+ - Update X share button to match brand color (#5245)
9
30
 
10
31
  ### Bug Fixes
11
32
 
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.1"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
124
+ 4. Add `remote_theme: "mmistakes/minimal-mistakes@4.27.3"` 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.1 by Michael Rose
2
+ Minimal Mistakes Jekyll Theme 4.27.3 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.1 by Michael Rose
2
+ * Minimal Mistakes Jekyll Theme 4.27.3 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
 
@@ -37,11 +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
44
  (mastodon, $mastodon-color),
44
- (bluesky, $bluesky-color);
45
+ (twitter, $twitter-color),
46
+ (x, $x-color);
45
47
 
46
48
  @each $buttoncolor, $color in $buttoncolors {
47
49
  &--#{$buttoncolor} {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.27.1 by Michael Rose
2
+ * Minimal Mistakes Jekyll Theme 4.27.3 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
@@ -29,13 +29,18 @@
29
29
  .visually-hidden,
30
30
  .screen-reader-text,
31
31
  .screen-reader-text span,
32
- .screen-reader-shortcut {
32
+ .screen-reader-shortcut,
33
+ .sr-only,
34
+ .sr-only-focusable:not(:focus) {
33
35
  position: absolute !important;
34
- clip: rect(1px, 1px, 1px, 1px);
36
+ clip: rect(0, 0, 0, 0);
35
37
  height: 1px !important;
36
38
  width: 1px !important;
39
+ padding: 0 !important;
37
40
  border: 0 !important;
41
+ margin: -1px;
38
42
  overflow: hidden;
43
+ white-space: nowrap;
39
44
  }
40
45
 
41
46
  body:hover .visually-hidden a,
@@ -218,7 +223,8 @@ $text-alignments: left, right, start, end, center, justify;
218
223
  $soundcloud-color: ".fa-soundcloud",
219
224
  $stackoverflow-color: ".fa-stack-exchange, .fa-stack-overflow",
220
225
  $tumblr-color: ".fa-tumblr, .fa-tumblr-square",
221
- $twitter-color: ".fa-twitter, .fa-twitter-square, .fa-x-twitter",
226
+ $twitter-color: ".fa-twitter, .fa-twitter-square",
227
+ $x-color: ".fa-x-twitter, .fa-square-x-twitter",
222
228
  $vimeo-color: ".fa-vimeo, .fa-vimeo-square, .fa-vimeo-v",
223
229
  $vine-color: ".fa-vine",
224
230
  $xing-color: ".fa-xing, .fa-xing-square",
@@ -142,6 +142,7 @@ $soundcloud-color: #ff3300 !default;
142
142
  $stackoverflow-color: #fe7a15 !default;
143
143
  $tumblr-color: #32506d !default;
144
144
  $twitter-color: #55acee !default;
145
+ $x-color: #0f1419 !default;
145
146
  $vimeo-color: #1ab7ea !default;
146
147
  $vine-color: #00bf8f !default;
147
148
  $youtube-color: #bb0000 !default;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.27.1 by Michael Rose
2
+ * Minimal Mistakes Jekyll Theme 4.27.3 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.1
4
+ version: 4.27.3
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-05-02 00:00:00.000000000 Z
12
+ date: 2025-07-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll