Compare commits

..
10 Commits
Author SHA1 Message Date
iBug 93022d6432 Update CHANGELOG and history 2024-06-15 17:54:54 +08:00
iBug 1e6bcecb5a Release 4.26.2 💎 2024-06-15 17:53:30 +08:00
iBug 784efffcd1 Update CHANGELOG and history 2024-06-15 17:52:26 +08:00
Steffen Uhlig b82680b103 Allow overriding HTML lang on a per-page basis (#4862)
The W3C [recommends](https://www.w3.org/International/questions/qa-html-language-declarations) to specify language using identifiers as per [RFC 5646](https://tools.ietf.org/html/rfc5646) which uses dashes.
2024-06-15 17:51:28 +08:00
iBug 7b6b45055c Update CHANGELOG and history 2024-06-10 02:57:57 +08:00
Michal Stanke 02342c919a feat: add Czech localization (#4866) 2024-06-10 02:56:05 +08:00
iBug 5b203f46c4 changelog: Clarify #4841 only triggers with popup=true 2024-05-27 01:08:33 +08:00
iBug ff56bc2bd6 assets/css/main.scss: Add trailing newline 2024-05-16 22:37:48 +08:00
iBug 4efb8638c4 _includes/figure: Replace remove:<p> with strip_html, fix #4841 2024-05-15 00:46:41 +08:00
iBug 536e89d174 Update CHANGELOG and history 2024-05-10 18:00:49 +08:00
23 changed files with 99 additions and 23 deletions
+12 -1
View File
@@ -1,6 +1,17 @@
# Changelog
## Unreleased
## [4.26.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.2)
### Enhancements
- Add Czech localization. [#4866](https://github.com/mmistakes/minimal-mistakes/pull/4866)
- Allow overriding HTML `lang` attribute on a per-page basis. [#4862](https://github.com/mmistakes/minimal-mistakes/pull/4862)
### Bug Fixes
- Figure helper breaks when using code markup in caption with `popup=true`. [#4841](https://github.com/mmistakes/minimal-mistakes/issues/4841)
## [4.26.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.1)
### Bug Fixes
+2 -2
View File
@@ -27,7 +27,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building per
- 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.
- 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/)).
- [Google Analytics](https://www.google.com/analytics/) support.
- 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.
- 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.
## Skins (color variations)
@@ -121,7 +121,7 @@ To install:
bundle
```
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.26.1"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.26.2"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
<!--
Dev note: The version number is currently hard-coded in these files:
+53
View File
@@ -2074,6 +2074,59 @@ uk: &DEFAULT_UK
uk-UA:
<<: *DEFAULT_UK
# Czech / čeština
# -----------------
cs: &DEFAULT_CS
skip_links : "Rychlé odkazy"
skip_primary_nav : "Přejít na hlavní navigace"
skip_content : "Přejít na obsah"
skip_footer : "Přejít na zápatí"
page : "Stránka"
pagination_previous : "Předchozí"
pagination_next : "Další"
breadcrumb_home_label : "Domů"
breadcrumb_separator : "/"
menu_label : "Přepnout zobrazení menu"
search_label : "Přepnout zobrazení vyhledávání"
toc_label : "Na této stránce"
ext_link_label : "Přímý odkaz"
less_than : "méně než"
minute_read : "minut"
share_on_label : "Sdílet"
meta_label :
tags_label : "Štítky:"
categories_label : "Rubriky:"
date_label : "Aktualizováno:"
comments_label : "Okomentovat"
comments_title : "Komentáře"
more_label : "Zjistit více"
related_label : "Může se vám také líbit"
follow_label : "Sledovat:"
feed_label : "Zdroj"
powered_by : "Používáme"
website_label : "Web"
email_label : "E-mail"
recent_posts : "Nejnovější příspěvky"
undefined_wpm : "V souboru _config.yml chybí parametr words_per_minute"
comment_form_info : "Vaše e-mailová adresa nebude zveřejněna. Povinná pole jsou označena"
comment_form_comment_label : "Komentář"
comment_form_md_info : "Podporuje markdown."
comment_form_name_label : "Jméno"
comment_form_email_label : "E-mailová adresa"
comment_form_website_label : "Web (volitelné)"
comment_btn_submit : "Odeslat komentář"
comment_btn_submitted : "Odesláno"
comment_success_msg : "Děkujeme za komentář. Na stránce se objeví jakmile projde schválením."
comment_error_msg : "Odeslání se nezdařilo. Zkontrolujte, že jste vyplnili všechna povinná pole a zkuste to znovu."
loading_label : "Načítání..."
search_label_text : "Zadejte vyhledávání..."
search_placeholder_text : "Zadejte vyhledávání..."
search_algolia_no_results : "Žádné výsledky"
results_found : "Nalezené výsledky"
back_to_top : "Na začátek stránky"
cs-CZ:
<<: *DEFAULT_CS
# Another locale
# --------------
#
+1 -1
View File
@@ -11,7 +11,7 @@
{% endif %}
<div class="{{ include.type | default: 'list' }}__item">
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork"{% if post.locale %} lang="{{ post.locale }}"{% endif %}>
{% if include.type == "grid" and teaser %}
<div class="archive__item-teaser">
<img src="{{ teaser | relative_url }}" alt="">
+1 -1
View File
@@ -26,7 +26,7 @@
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
{% endif %}
{% if forloop.last %}
<li class="current">{{ page.title }}</li>
<li class="current"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</li>
{% else %}
{% assign i = i | plus: 1 %}
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
+1 -1
View File
@@ -1,5 +1,5 @@
<!--
Minimal Mistakes Jekyll Theme 4.26.1 by Michael Rose
Minimal Mistakes Jekyll Theme 4.26.2 by Michael Rose
Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
+1 -1
View File
@@ -1,5 +1,5 @@
/*!
* Minimal Mistakes Jekyll Theme 4.26.1 by Michael Rose
* Minimal Mistakes Jekyll Theme 4.26.2 by Michael Rose
* Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
* Free for personal and commercial use under the MIT license
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
+1 -1
View File
@@ -1,5 +1,5 @@
<figure class="{{ include.class }}">
{%- 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 -%}
{%- if include.popup -%}<a href="{{ include.image_path | relative_url }}" class="image-popup"{% if include.caption %} title="{{ include.caption | markdownify | strip_html }}"{% endif %}>{%- endif -%}
<img src="{{ include.image_path | relative_url }}"
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{%- if include.popup -%}</a>{%- endif -%}
+1 -1
View File
@@ -20,7 +20,7 @@ author_profile: false
<div class="archive">
{% unless page.header.overlay_color or page.header.overlay_image %}
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
<h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
{% endunless %}
{% for post in page.posts %}
{% include archive-single.html %}
+1 -1
View File
@@ -19,7 +19,7 @@ layout: default
<div class="archive">
{% unless page.header.overlay_color or page.header.overlay_image %}
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
<h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
{% endunless %}
{{ content }}
</div>
+1 -1
View File
@@ -3,7 +3,7 @@
<!doctype html>
{% include copyright.html %}
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
<html lang="{{ site.locale | replace: "_", "-" | default: "en" }}" class="no-js">
<head>
{% include head.html %}
{% include head/custom.html %}
+1 -1
View File
@@ -17,7 +17,7 @@ layout: default
<div class="archive">
{% unless page.header.overlay_color or page.header.overlay_image %}
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
<h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
{% endunless %}
{{ content }}
+1 -1
View File
@@ -21,7 +21,7 @@ layout: default
<div id="main" role="main">
{% include sidebar.html %}
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
<article class="page" itemscope itemtype="https://schema.org/CreativeWork"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>
{% if page.title %}<meta itemprop="headline" content="{{ page.title | replace: '|', '&#124;' | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
+1 -1
View File
@@ -9,7 +9,7 @@ layout: default
{% endif %}
<div id="main" role="main">
<article class="splash" itemscope itemtype="https://schema.org/CreativeWork">
<article class="splash" itemscope itemtype="https://schema.org/CreativeWork"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
+1 -1
View File
@@ -1,5 +1,5 @@
/*!
* Minimal Mistakes Jekyll Theme 4.26.1 by Michael Rose
* Minimal Mistakes Jekyll Theme 4.26.2 by Michael Rose
* Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
* Free for personal and commercial use under the MIT license
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
+1 -1
View File
@@ -6,4 +6,4 @@ search: false
@charset "utf-8";
@import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}"; // skin
@import "minimal-mistakes"; // main partials
@import "minimal-mistakes"; // main partials
+1 -1
View File
@@ -1,5 +1,5 @@
/*!
* Minimal Mistakes Jekyll Theme 4.26.1 by Michael Rose
* Minimal Mistakes Jekyll Theme 4.26.2 by Michael Rose
* Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
* Free for personal and commercial use under the MIT license
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
+1 -1
View File
@@ -1,3 +1,3 @@
# for use with in-page templates
---
version: 4.26.1
version: 4.26.2
+1
View File
@@ -13,6 +13,7 @@ The English[^yaml-anchors] main keys in [`_data/ui-text.yml`](https://github.com
- Brazilian Portuguese (Português brasileiro)
- Catalan
- Chinese
- Czech
- Danish
- Dutch
- Finnish
+13 -2
View File
@@ -5,7 +5,7 @@ permalink: "/docs/history/"
excerpt: Change log of enhancements and bug fixes made to the theme.
sidebar:
nav: docs
last_modified_at: '2024-05-07T14:21:22+08:00'
last_modified_at: '2024-06-15T17:54:53+08:00'
toc: false
---
@@ -15,7 +15,18 @@ toc: false
-->
{% raw %}
## Unreleased
## [4.26.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.2)
### Enhancements
- Add Czech localization. [#4866](https://github.com/mmistakes/minimal-mistakes/pull/4866)
- Allow overriding HTML `lang` attribute on a per-page basis. [#4862](https://github.com/mmistakes/minimal-mistakes/pull/4862)
### Bug Fixes
- Figure helper breaks when using code markup in caption with `popup=true`. [#4841](https://github.com/mmistakes/minimal-mistakes/issues/4841)
## [4.26.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.1)
### Bug Fixes
+1 -1
View File
@@ -33,7 +33,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
- 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.
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), [Discourse](https://www.discourse.org/), [utterances](https://utteranc.es/), [giscus](https://giscus.app/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom).
- [Google Analytics](https://www.google.com/analytics/) support.
- 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), and Vietnamese.
- 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), and Vietnamese.
## Demo Pages
+1 -1
View File
@@ -10,7 +10,7 @@ header:
url: "/docs/quick-start-guide/"
excerpt: >
A flexible two-column Jekyll theme. Perfect for building personal sites, blogs, and portfolios.<br />
<small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.1">Latest release v4.26.1</a></small>
<small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.2">Latest release v4.26.2</a></small>
feature_row:
- image_path: /assets/images/mm-customizable-feature.png
alt: "customizable"
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "minimal-mistakes",
"private": true,
"version": "4.26.1",
"version": "4.26.2",
"description": "Minimal Mistakes 2 column Jekyll theme.",
"repository": {
"type": "git",