minimal-mistakes-jekyll 4.26.1 → 4.26.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ce66800cc5df8bf05e350eda4c42eb8531be72e239930a9b5d0004c5978d121
4
- data.tar.gz: caaf958143a1cb62c92e665782dc5108deb13866655dad5b0f4f18f289071f91
3
+ metadata.gz: ecc74a3ce0daabe9352af2c6df9f721977e0828f469ca32b6d035567a0e2bda1
4
+ data.tar.gz: e82443293ef2fbe0be75f1b6f63d3edbf014b1a7bdb1f3917b86dd2b1d28ea4b
5
5
  SHA512:
6
- metadata.gz: e2b501d000f03cc3149096f927559d163fc44f2955099f271411fafbcd3bb9dcdea22f24034c0aeb7c6561427b0c9fab4b1caac47c5a64c91ce3e241f2b902e5
7
- data.tar.gz: d5a2373825ded0f91e71492095d91e8f7e65296c56ab41afd2b0d58098de63937927ceed9b9d6f7c7284c7a542bc4cbe0e08dfb22a84415a470ed3d81a87c600
6
+ metadata.gz: 60da64c06a172cd6fc2da33c15e89aef67e592d1493deb813aecbca3e00348380f3cf296f56f6adb205bc07b2c22dd79bd6f71d38066e8e64733c3b5e5a57f11
7
+ data.tar.gz: 5699470cf94b96b68d1b62e9213d447b12b7883c6fd9c1949d2f7575cb7635adbaed9082d056ca1d60a308b316373d597ede8db351d35543a92d7a1751606d8a
data/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ### Enhancements
6
+
7
+ - Add Czech localization. [#4866](https://github.com/mmistakes/minimal-mistakes/pull/4866)
8
+ - Allow overriding HTML `lang` attribute on a per-page basis. [#4862](https://github.com/mmistakes/minimal-mistakes/pull/4862)
9
+
10
+ ### Bug Fixes
11
+
12
+ - Figure helper breaks when using code markup in caption with `popup=true`. [#4841](https://github.com/mmistakes/minimal-mistakes/issues/4841)
13
+
14
+ ## [4.26.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.1)
15
+
5
16
  ### Bug Fixes
6
17
 
7
18
  - Disable copy button on invalid syntax highlighting blocks to avoid positioning issues.
data/README.md CHANGED
@@ -27,7 +27,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building per
27
27
  - Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
28
28
  - Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), [utterances](https://utteranc.es/), and [giscus](https://giscus.app/)).
29
29
  - [Google Analytics](https://www.google.com/analytics/) support.
30
- - UI localized text in English (default), Arabic (عربي), Brazilian Portuguese (Português brasileiro), Catalan, Chinese, Danish, Dutch, Finnish, French (Français), German (Deutsch), Greek, Hebrew, Hindi (हिंदी), Hungarian, Indonesian, Irish (Gaeilge), Italian (Italiano), Japanese, Kiswahili, Korean, Malayalam, Myanmar (Burmese), Nepali (Nepalese), Norwegian (Norsk), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), Ukrainian (Українська) and Vietnamese.
30
+ - UI localized text in English (default), Arabic (عربي), Brazilian Portuguese (Português brasileiro), Catalan, Chinese, Czech, Danish, Dutch, Finnish, French (Français), German (Deutsch), Greek, Hebrew, Hindi (हिंदी), Hungarian, Indonesian, Irish (Gaeilge), Italian (Italiano), Japanese, Kiswahili, Korean, Malayalam, Myanmar (Burmese), Nepali (Nepalese), Norwegian (Norsk), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), Ukrainian (Українська) and Vietnamese.
31
31
 
32
32
  ## Skins (color variations)
33
33
 
@@ -121,7 +121,7 @@ To install:
121
121
  bundle
122
122
  ```
123
123
 
124
- 4. Add `remote_theme: "mmistakes/minimal-mistakes@4.26.1"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
124
+ 4. Add `remote_theme: "mmistakes/minimal-mistakes@4.26.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/_data/ui-text.yml CHANGED
@@ -2074,6 +2074,59 @@ uk: &DEFAULT_UK
2074
2074
  uk-UA:
2075
2075
  <<: *DEFAULT_UK
2076
2076
 
2077
+ # Czech / čeština
2078
+ # -----------------
2079
+ cs: &DEFAULT_CS
2080
+ skip_links : "Rychlé odkazy"
2081
+ skip_primary_nav : "Přejít na hlavní navigace"
2082
+ skip_content : "Přejít na obsah"
2083
+ skip_footer : "Přejít na zápatí"
2084
+ page : "Stránka"
2085
+ pagination_previous : "Předchozí"
2086
+ pagination_next : "Další"
2087
+ breadcrumb_home_label : "Domů"
2088
+ breadcrumb_separator : "/"
2089
+ menu_label : "Přepnout zobrazení menu"
2090
+ search_label : "Přepnout zobrazení vyhledávání"
2091
+ toc_label : "Na této stránce"
2092
+ ext_link_label : "Přímý odkaz"
2093
+ less_than : "méně než"
2094
+ minute_read : "minut"
2095
+ share_on_label : "Sdílet"
2096
+ meta_label :
2097
+ tags_label : "Štítky:"
2098
+ categories_label : "Rubriky:"
2099
+ date_label : "Aktualizováno:"
2100
+ comments_label : "Okomentovat"
2101
+ comments_title : "Komentáře"
2102
+ more_label : "Zjistit více"
2103
+ related_label : "Může se vám také líbit"
2104
+ follow_label : "Sledovat:"
2105
+ feed_label : "Zdroj"
2106
+ powered_by : "Používáme"
2107
+ website_label : "Web"
2108
+ email_label : "E-mail"
2109
+ recent_posts : "Nejnovější příspěvky"
2110
+ undefined_wpm : "V souboru _config.yml chybí parametr words_per_minute"
2111
+ comment_form_info : "Vaše e-mailová adresa nebude zveřejněna. Povinná pole jsou označena"
2112
+ comment_form_comment_label : "Komentář"
2113
+ comment_form_md_info : "Podporuje markdown."
2114
+ comment_form_name_label : "Jméno"
2115
+ comment_form_email_label : "E-mailová adresa"
2116
+ comment_form_website_label : "Web (volitelné)"
2117
+ comment_btn_submit : "Odeslat komentář"
2118
+ comment_btn_submitted : "Odesláno"
2119
+ comment_success_msg : "Děkujeme za komentář. Na stránce se objeví jakmile projde schválením."
2120
+ comment_error_msg : "Odeslání se nezdařilo. Zkontrolujte, že jste vyplnili všechna povinná pole a zkuste to znovu."
2121
+ loading_label : "Načítání..."
2122
+ search_label_text : "Zadejte vyhledávání..."
2123
+ search_placeholder_text : "Zadejte vyhledávání..."
2124
+ search_algolia_no_results : "Žádné výsledky"
2125
+ results_found : "Nalezené výsledky"
2126
+ back_to_top : "Na začátek stránky"
2127
+ cs-CZ:
2128
+ <<: *DEFAULT_CS
2129
+
2077
2130
  # Another locale
2078
2131
  # --------------
2079
2132
  #
@@ -11,7 +11,7 @@
11
11
  {% endif %}
12
12
 
13
13
  <div class="{{ include.type | default: 'list' }}__item">
14
- <article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
14
+ <article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork"{% if post.locale %} lang="{{ post.locale }}"{% endif %}>
15
15
  {% if include.type == "grid" and teaser %}
16
16
  <div class="archive__item-teaser">
17
17
  <img src="{{ teaser | relative_url }}" alt="">
@@ -26,7 +26,7 @@
26
26
  <span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
27
27
  {% endif %}
28
28
  {% if forloop.last %}
29
- <li class="current">{{ page.title }}</li>
29
+ <li class="current"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</li>
30
30
  {% else %}
31
31
  {% assign i = i | plus: 1 %}
32
32
  <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
@@ -1,5 +1,5 @@
1
1
  <!--
2
- Minimal Mistakes Jekyll Theme 4.26.1 by Michael Rose
2
+ Minimal Mistakes Jekyll Theme 4.26.2 by Michael Rose
3
3
  Copyright 2013-2024 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.26.1 by Michael Rose
2
+ * Minimal Mistakes Jekyll Theme 4.26.2 by Michael Rose
3
3
  * Copyright 2013-2024 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/figure CHANGED
@@ -1,5 +1,5 @@
1
1
  <figure class="{{ include.class }}">
2
- {%- if include.popup -%}<a href="{{ include.image_path | relative_url }}" class="image-popup" title="{% if include.caption %}{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}{% endif %}">{%- endif -%}
2
+ {%- if include.popup -%}<a href="{{ include.image_path | relative_url }}" class="image-popup"{% if include.caption %} title="{{ include.caption | markdownify | strip_html }}"{% endif %}>{%- endif -%}
3
3
  <img src="{{ include.image_path | relative_url }}"
4
4
  alt="{% if include.alt %}{{ include.alt }}{% endif %}">
5
5
  {%- if include.popup -%}</a>{%- endif -%}
@@ -20,7 +20,7 @@ author_profile: false
20
20
 
21
21
  <div class="archive">
22
22
  {% unless page.header.overlay_color or page.header.overlay_image %}
23
- <h1 id="page-title" class="page__title">{{ page.title }}</h1>
23
+ <h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
24
24
  {% endunless %}
25
25
  {% for post in page.posts %}
26
26
  {% include archive-single.html %}
@@ -19,7 +19,7 @@ layout: default
19
19
 
20
20
  <div class="archive">
21
21
  {% unless page.header.overlay_color or page.header.overlay_image %}
22
- <h1 id="page-title" class="page__title">{{ page.title }}</h1>
22
+ <h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
23
23
  {% endunless %}
24
24
  {{ content }}
25
25
  </div>
@@ -3,7 +3,7 @@
3
3
 
4
4
  <!doctype html>
5
5
  {% include copyright.html %}
6
- <html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
6
+ <html lang="{{ site.locale | replace: "_", "-" | default: "en" }}" class="no-js">
7
7
  <head>
8
8
  {% include head.html %}
9
9
  {% include head/custom.html %}
data/_layouts/search.html CHANGED
@@ -17,7 +17,7 @@ layout: default
17
17
 
18
18
  <div class="archive">
19
19
  {% unless page.header.overlay_color or page.header.overlay_image %}
20
- <h1 id="page-title" class="page__title">{{ page.title }}</h1>
20
+ <h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
21
21
  {% endunless %}
22
22
 
23
23
  {{ content }}
data/_layouts/single.html CHANGED
@@ -21,7 +21,7 @@ layout: default
21
21
  <div id="main" role="main">
22
22
  {% include sidebar.html %}
23
23
 
24
- <article class="page" itemscope itemtype="https://schema.org/CreativeWork">
24
+ <article class="page" itemscope itemtype="https://schema.org/CreativeWork"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>
25
25
  {% if page.title %}<meta itemprop="headline" content="{{ page.title | replace: '|', '&#124;' | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
26
26
  {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
27
27
  {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
data/_layouts/splash.html CHANGED
@@ -9,7 +9,7 @@ layout: default
9
9
  {% endif %}
10
10
 
11
11
  <div id="main" role="main">
12
- <article class="splash" itemscope itemtype="https://schema.org/CreativeWork">
12
+ <article class="splash" itemscope itemtype="https://schema.org/CreativeWork"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>
13
13
  {% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
14
14
  {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
15
15
  {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.26.1 by Michael Rose
2
+ * Minimal Mistakes Jekyll Theme 4.26.2 by Michael Rose
3
3
  * Copyright 2013-2024 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/assets/css/main.scss CHANGED
@@ -6,4 +6,4 @@ search: false
6
6
  @charset "utf-8";
7
7
 
8
8
  @import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}"; // skin
9
- @import "minimal-mistakes"; // main partials
9
+ @import "minimal-mistakes"; // main partials
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.26.1 by Michael Rose
2
+ * Minimal Mistakes Jekyll Theme 4.26.2 by Michael Rose
3
3
  * Copyright 2013-2024 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.26.1
4
+ version: 4.26.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: 2024-05-10 00:00:00.000000000 Z
12
+ date: 2024-06-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll