minimal-mistakes-jekyll 4.28.0 → 4.28.1

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: 7790081ce4031f489973223d19f9c435c34ce41a6cd80c6e1a9aa3c1bdeaa619
4
- data.tar.gz: 76f0185fa59565910c4a760b8b2376880ac552118a4096a74c7af0f3cafe51cf
3
+ metadata.gz: f42a30c3f9a22404ed5e11f74e80d2eeea2519b99182bc7a6a121b46675681e1
4
+ data.tar.gz: 0cef64f9392b50fd81a4d0097b841cd00a09e73691021997f668f4fb625272d9
5
5
  SHA512:
6
- metadata.gz: 504e4d8bb6ba04c590bd79f6ebbf1d5702878a0b620ab30b2941437171799fd37485b257dc5d45f2663b9c1cd297da17b8c677f7324e916238d1e67f61de5a51
7
- data.tar.gz: d95654af1241e4b54d296e5e7b17334f6e16d01217b4b1f25fa649d47d82c5f651d6007b23cf377a33c769383db0cb388d2c28a3b63f836c5736580a11f10803
6
+ metadata.gz: 8f802a8d8856214d9185dcefdabd892f719eebfd8226f0a1a58b62e92c878b3ec49f7f965f57585585d13d0f9f86185232034dd14f24d4cd6b23557892ebc5de
7
+ data.tar.gz: 40dff2ba397c0109788a49409d5b84211a031db640f6da3bcf867a0dbf2f458d2a0695ac90e3a1ac95bb68f96520f5c042e7517a8b0a8b5d18c6f98dfbe4de13
data/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## Unreleased
4
+
5
+ No unreleased changes yet.
6
+
7
+ ## [4.28.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.28.1)
8
+
9
+ ### Enhancements
10
+
11
+ - Respect custom parameters in yiq-contrast-color function (#5453)
12
+ - Allow specifying `rtl` in both page and layout (#5460)
13
+ - Add title attribute to video iframes for accessibility (#5471)
14
+ - Silence "Sass @import rules are deprecated" warning
15
+ - Allow per-post or per-collection `date_format` values. (#5477)
16
+ - Replace inline style `padding-left` with `padding-inline-start` for RTL support (#5480)
17
+
18
+ ### Bug Fixes
19
+
20
+ - Fix animations to pass Lighthouse. (#5494)
21
+
22
+ ### Documentation & Maintenance
23
+
24
+ - Update /docs/javascript/ to reflect changes in `0b8b523`
25
+ - Update bad-pr.yml script from ubuntu-slim to ubuntu-latest (#5483)
26
+ - Use relative paths for README images (#5488)
27
+
3
28
  ## [4.28.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.28.0)
4
29
 
5
30
  ### Enhancements
data/README.md CHANGED
@@ -12,9 +12,9 @@ Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building per
12
12
  [![Minimal Mistakes live preview][2]][1]
13
13
 
14
14
  [1]: https://mmistakes.github.io/minimal-mistakes/
15
- [2]: screenshot.png (live preview)
15
+ [2]: docs/screenshot.png (live preview)
16
16
 
17
- ![layout examples](screenshot-layouts.png)
17
+ ![layout examples](docs/screenshot-layouts.png)
18
18
 
19
19
  ## Notable features
20
20
 
@@ -36,19 +36,19 @@ This theme comes in 11 different skins (in addition to the default one).
36
36
 
37
37
  | `air` | `contrast` | `dark` |
38
38
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
39
- | [![air skin](https://mmistakes.github.io/minimal-mistakes/assets/images/air-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/air-skin-archive-large.png) | [![contrast skin](https://mmistakes.github.io/minimal-mistakes/assets/images/contrast-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/contrast-skin-archive-large.png) | [![dark skin](https://mmistakes.github.io/minimal-mistakes/assets/images/dark-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/dark-skin-archive-large.png) |
39
+ | [![air skin](docs/assets/images/air-skin-archive.png)](docs/assets/images/air-skin-archive-large.png) | [![contrast skin](docs/assets/images/contrast-skin-archive.png)](docs/assets/images/contrast-skin-archive-large.png) | [![dark skin](docs/assets/images/dark-skin-archive.png)](docs/assets/images/dark-skin-archive-large.png) |
40
40
 
41
41
  | `dirt` | `mint` | `sunrise` |
42
42
  | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
43
- | [![dirt skin](https://mmistakes.github.io/minimal-mistakes/assets/images/dirt-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/dirt-skin-archive-large.png) | [![mint skin](https://mmistakes.github.io/minimal-mistakes/assets/images/mint-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/mint-skin-archive-large.png) | [![sunrise skin](https://mmistakes.github.io/minimal-mistakes/assets/images/sunrise-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/sunrise-skin-archive-large.png) |
43
+ | [![dirt skin](docs/assets/images/dirt-skin-archive.png)](docs/assets/images/dirt-skin-archive-large.png) | [![mint skin](docs/assets/images/mint-skin-archive.png)](docs/assets/images/mint-skin-archive-large.png) | [![sunrise skin](docs/assets/images/sunrise-skin-archive.png)](docs/assets/images/sunrise-skin-archive-large.png) |
44
44
 
45
45
  | `aqua` | `neon` | `plum` |
46
46
  | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
47
- | [![aqua skin](https://mmistakes.github.io/minimal-mistakes/assets/images/aqua-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/aqua-skin-archive-large.png) | [![neon skin](https://mmistakes.github.io/minimal-mistakes/assets/images/neon-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/neon-skin-archive-large.png) | [![plum skin](https://mmistakes.github.io/minimal-mistakes/assets/images/plum-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/plum-skin-archive-large.png) |
47
+ | [![aqua skin](docs/assets/images/aqua-skin-archive.png)](docs/assets/images/aqua-skin-archive-large.png) | [![neon skin](docs/assets/images/neon-skin-archive.png)](docs/assets/images/neon-skin-archive-large.png) | [![plum skin](docs/assets/images/plum-skin-archive.png)](docs/assets/images/plum-skin-archive-large.png) |
48
48
 
49
49
  | `catppuccin_latte` | `catppuccin_mocha` |
50
50
  | --- | --- |
51
- | ![catppuccin_latte skin](./assets/images/catppuccin_latte-skin-archive-large.png) | ![catppuccin_mocha skin](./assets/images/catppuccin_mocha-skin-archive-large.png) |
51
+ | ![catppuccin_latte skin](docs/assets/images/catppuccin_latte-skin-archive-large.png) | ![catppuccin_mocha skin](docs/assets/images/catppuccin_mocha-skin-archive-large.png) |
52
52
  ## Demo pages
53
53
 
54
54
  | Name | Description |
@@ -125,7 +125,7 @@ To install:
125
125
  bundle
126
126
  ```
127
127
 
128
- 4. Add `remote_theme: "mmistakes/minimal-mistakes@4.28.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
128
+ 4. Add `remote_theme: "mmistakes/minimal-mistakes@4.28.1"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
129
129
 
130
130
  <!--
131
131
  Dev note: The version number is currently hard-coded in these files:
@@ -1,5 +1,5 @@
1
1
  <!--
2
- Minimal Mistakes Jekyll Theme 4.28.0 by Michael Rose
2
+ Minimal Mistakes Jekyll Theme 4.28.1 by Michael Rose
3
3
  Copyright 2013-2026 Michael Rose - mademistakes.com | @mmistakes
4
4
  Copyright 2024-2026 iBug - ibugone.com | @iBug
5
5
  Free for personal and commercial use under the MIT license
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.28.0 by Michael Rose
2
+ * Minimal Mistakes Jekyll Theme 4.28.1 by Michael Rose
3
3
  * Copyright 2013-2026 Michael Rose - mademistakes.com | @mmistakes
4
4
  * Copyright 2024-2026 iBug - ibugone.com | @iBug
5
5
  * Free for personal and commercial use under the MIT license
data/_includes/nav_list CHANGED
@@ -1,6 +1,6 @@
1
1
  {% assign locale = include.locale | default: site.locale %}
2
2
  <nav class="nav__list">
3
- {% if page.sidebar.title %}<h3 class="nav__title" style="padding-left: 0;">{{ page.sidebar.title }}</h3>{% endif %}
3
+ {% if page.sidebar.title %}<h3 class="nav__title" style="padding-inline-start: 0;">{{ page.sidebar.title }}</h3>{% endif %}
4
4
  <input id="ac-toc" name="accordion-toc" type="checkbox" />
5
5
  <label for="ac-toc">{{ site.data.ui-text[locale].menu_label | default: "Toggle Menu" }}</label>
6
6
  <ul class="nav__items">
@@ -1,5 +1,5 @@
1
1
  {% assign locale = include.locale | default: site.locale %}
2
- {% assign date_format = site.date_format | default: "%B %-d, %Y" %}
2
+ {% assign date_format = page.date_format | default: site.date_format | default: "%B %-d, %Y" %}
3
3
  {% if page.last_modified_at %}
4
4
  <p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[locale].date_label | default: "Updated:" }}</strong> <time class="dt-updated" datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: date_format }}</time></p>
5
5
  {% elsif page.date %}
@@ -6,7 +6,7 @@
6
6
  {% assign date = document.date %}
7
7
  <span class="page__meta-date">
8
8
  <i class="far {% if include.type == 'grid' and document.read_time and document.show_date %}fa-fw {% endif %}fa-calendar-alt" aria-hidden="true"></i>
9
- {% assign date_format = site.date_format | default: "%B %-d, %Y" %}
9
+ {% assign date_format = document.date_format | default: site.date_format | default: "%B %-d, %Y" %}
10
10
  <time datetime="{{ date | date_to_xmlschema }}">{{ date | date: date_format }}</time>
11
11
  </span>
12
12
  {% endif %}
data/_includes/video CHANGED
@@ -16,9 +16,29 @@
16
16
  {% endcapture %}
17
17
  {% assign video_src = video_src | strip %}
18
18
 
19
+ {% capture video_title %}
20
+ {% if include.title %}
21
+ {{ include.title }}
22
+ {% else %}
23
+ {% case video_provider %}
24
+ {% when "vimeo" %}
25
+ Vimeo video player
26
+ {% when "youtube" %}
27
+ YouTube video player
28
+ {% when "google-drive" %}
29
+ Google Drive video player
30
+ {% when "bilibili" %}
31
+ Bilibili video player
32
+ {% else %}
33
+ Video player
34
+ {% endcase %}
35
+ {% endif %}
36
+ {% endcapture %}
37
+ {% assign video_title = video_title | strip %}
38
+
19
39
  <!-- Courtesy of embedresponsively.com -->
20
40
  {% unless video_src == "" %}
21
41
  <div class="responsive-video-container">
22
- <iframe src="{{ video_src }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>
42
+ <iframe src="{{ video_src }}" title="{{ video_title }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>
23
43
  </div>
24
44
  {% endunless %}
@@ -4,13 +4,13 @@
4
4
 
5
5
  <!doctype html>
6
6
  {% include copyright.html %}
7
- <html lang="{{ locale | replace: "_", "-" | default: "en" }}" class="no-js">
7
+ <html lang="{{ locale | replace: '_', '-' | default: 'en' }}" class="no-js" dir="{{ page.direction | default: layout.direction | default: site.direction | default: 'ltr' }}">
8
8
  <head>
9
9
  {% include head.html locale=locale %}
10
10
  {% include head/custom.html %}
11
11
  </head>
12
12
 
13
- <body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}" dir="{% if site.rtl %}rtl{% else %}ltr{% endif %}">
13
+ <body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
14
14
  {% include_cached skip-links.html locale=locale %}
15
15
  {% include_cached masthead.html locale=locale %}
16
16
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  @-webkit-keyframes intro {
6
6
  0% {
7
- opacity: 0;
7
+ opacity: 0.01;
8
8
  }
9
9
  100% {
10
10
  opacity: 1;
@@ -13,7 +13,7 @@
13
13
 
14
14
  @keyframes intro {
15
15
  0% {
16
- opacity: 0;
16
+ opacity: 0.01;
17
17
  }
18
18
  100% {
19
19
  opacity: 1;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.28.0 by Michael Rose
2
+ * Minimal Mistakes Jekyll Theme 4.28.1 by Michael Rose
3
3
  * Copyright 2013-2026 Michael Rose - mademistakes.com | @mmistakes
4
4
  * Copyright 2024-2026 iBug - ibugone.com | @iBug
5
5
  * Free for personal and commercial use under the MIT license
@@ -78,7 +78,7 @@
78
78
  $light: $yiq-contrasted-light-default,
79
79
  $threshold: $yiq-contrasted-threshold
80
80
  ) {
81
- @return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
81
+ @return if(yiq-is-light($color, $threshold), $dark, $light);
82
82
  }
83
83
 
84
84
  @mixin yiq-contrasted(
@@ -89,4 +89,4 @@
89
89
  ) {
90
90
  background-color: $background-color;
91
91
  color: yiq-contrast-color($background-color, $dark, $light, $threshold);
92
- }
92
+ }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.28.0 by Michael Rose
2
+ * Minimal Mistakes Jekyll Theme 4.28.1 by Michael Rose
3
3
  * Copyright 2013-2026 Michael Rose - mademistakes.com | @mmistakes
4
4
  * Copyright 2024-2026 iBug - ibugone.com | @iBug
5
5
  * Free for personal and commercial use under the MIT license
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimal-mistakes-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.28.0
4
+ version: 4.28.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Rose
8
8
  - iBug
9
- autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2026-03-11 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: jekyll
@@ -129,8 +128,6 @@ dependencies:
129
128
  - - ">="
130
129
  - !ruby/object:Gem::Version
131
130
  version: 12.3.3
132
- description:
133
- email:
134
131
  executables: []
135
132
  extensions: []
136
133
  extra_rdoc_files: []
@@ -294,8 +291,6 @@ files:
294
291
  - _sass/minimal-mistakes/vendor/susy/susy/_unprefix.scss
295
292
  - _sass/minimal-mistakes/vendor/susy/susy/_utilities.scss
296
293
  - assets/css/main.scss
297
- - assets/images/catppuccin_latte-skin-archive-large.png
298
- - assets/images/catppuccin_mocha-skin-archive-large.png
299
294
  - assets/js/_main.js
300
295
  - assets/js/lunr/lunr-en.js
301
296
  - assets/js/lunr/lunr-gr.js
@@ -316,7 +311,6 @@ licenses:
316
311
  - MIT
317
312
  metadata:
318
313
  plugin_type: theme
319
- post_install_message:
320
314
  rdoc_options: []
321
315
  require_paths:
322
316
  - lib
@@ -331,8 +325,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
331
325
  - !ruby/object:Gem::Version
332
326
  version: '0'
333
327
  requirements: []
334
- rubygems_version: 3.4.20
335
- signing_key:
328
+ rubygems_version: 3.6.7
336
329
  specification_version: 4
337
330
  summary: A flexible two-column Jekyll theme.
338
331
  test_files: []