minimal-mistakes-jekyll 4.27.1 → 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: 5c49579eaaaaaf711e7fd3acf530b12045012ecf53fc7d49e89f2b0782b190a5
4
- data.tar.gz: 6be772c33fbe5d17f5d66d04bbba5fda49afdc3cc8e7e437a1dcef4920cc7a24
3
+ metadata.gz: 628c34d1373bbbec4616ea17372d9d07b824a77cda1b3ad981cf7d7b9d22773d
4
+ data.tar.gz: 76226b1d8bb77c4398599b5ccce6f68c398ee303df26f6ab3484c5114e76b9eb
5
5
  SHA512:
6
- metadata.gz: 622fadf36f088e7568894d0894cec5d4a97612f0491c3ec6bda50b7c9cb0de610bf36fdbef0777edca073fe979cb63dad510258baa9c3217fcc9fc8664a310b7
7
- data.tar.gz: 506cf5f4d3c5c25fd28cb28a0783bc5d1a36e81a43d47946d8e11a694a236e428008a5a3cb9e54209814a7abf920ca8d7f3d3eaf684a3d8c1afa0b3113f7c06e
6
+ metadata.gz: a2d557436280bfc07dec8fe934ab108610d07fdcdaa69b8886099e102f7f6d493da9d3f2952fb51b820c2573451b98e1e83fd56b51c225557ea8829504a9342e
7
+ data.tar.gz: e803665f2b0e3d230ff0be49e7d88393e801a6d026ef3339a2e386345571a450b82b34609194bc343b98787bbab3a36c9904fe1ae5483c87a5e4376081cc9367
data/CHANGELOG.md CHANGED
@@ -1,11 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## Unreleased
4
+
5
+ ### Enhancements
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
+
3
15
  ## [4.27.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.1)
4
16
 
5
17
  ### Enhancements
6
18
 
7
19
  - Add a "Share on Bluesky" button (#5179)
8
20
  - Add preset variables for modern font stack (#5033)
21
+ - Update X share button to match brand color (#5245)
9
22
 
10
23
  ### Bug Fixes
11
24
 
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.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.1 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.1 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
 
@@ -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.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
@@ -218,7 +218,8 @@ $text-alignments: left, right, start, end, center, justify;
218
218
  $soundcloud-color: ".fa-soundcloud",
219
219
  $stackoverflow-color: ".fa-stack-exchange, .fa-stack-overflow",
220
220
  $tumblr-color: ".fa-tumblr, .fa-tumblr-square",
221
- $twitter-color: ".fa-twitter, .fa-twitter-square, .fa-x-twitter",
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",
@@ -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.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.1
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-05-02 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