Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
1c6bd0d
Fix typo in docs/_docs/05-configuration.md (#5106)
pabletecodes Jan 31, 2025
cb140fc
Mastodon button color (#5109)
jdeluyck Feb 8, 2025
af81ee8
Tweak contrast skin $primary-color to adhere to WCAG guidelines (#5126)
lukasvermeer Feb 14, 2025
d90b7e5
Update CHANGELOG and history
iBug Feb 14, 2025
90ab9d2
_config.yml: Add minimal-mistakes-jekyll.gemspec to exclude, fix #5193
iBug Apr 2, 2025
903ad65
Update Social Share Buttons to Reflect Twitter Rebranding to X (#5210)
vyshnaviJammi Apr 18, 2025
8193f60
Update CHANGELOG and history
iBug Apr 18, 2025
126f716
Add a "Share on Bluesky" button (#5179)
pgr0ss Apr 23, 2025
918d04f
Release 4.27.0 💎
iBug Apr 19, 2025
2d4e1e1
Update CHANGELOG and history
iBug Apr 23, 2025
61ae48d
Modern font stack (#5033)
lsolesen Apr 26, 2025
6de2725
Update CHANGELOG and history
iBug Apr 26, 2025
cf6c261
Fix X share button icon and color, close #5221
iBug May 2, 2025
b7e170c
Release 4.27.1 💎
iBug May 2, 2025
a59342a
Attempt to fix X button color again
iBug May 2, 2025
e675044
Update X share button to match brand color (#5245)
y-kawa Jun 15, 2025
0ce3ef6
Update CHANGELOG and history
iBug Jun 15, 2025
36271d1
Additional HTML escaping for titles and metadata (#5276)
PanderMusubi Jul 11, 2025
30c69ad
Hide page__footer-follow if there are no links nor atom feed. (#5279)
PanderMusubi Jul 11, 2025
db81998
Optional `footer.since` for copyright time range (#5275)
PanderMusubi Jul 11, 2025
2f8c4e6
Update history from CHANGELOG
iBug Jul 11, 2025
c9a7eb6
Add `escape_once` to gallery title and alt text
iBug Jul 20, 2025
8dac1da
Release 4.27.2 💎
iBug Jul 20, 2025
67676e5
Add CSS for .sr-only
iBug Jul 29, 2025
0064dab
Release 4.27.3 💎
iBug Jul 29, 2025
d773e69
Updated Traditional Chinese translation (#5250)
keyang556 Jul 29, 2025
95044aa
Update CHANGELOG and history
iBug Jul 29, 2025
01eeb08
Delete Travis CI config
iBug Jul 29, 2025
c04d202
Add built-in support for jekyll-gfm-admonitions (#5312)
queengooborg Aug 31, 2025
b6fcae6
Update CHANGELOG and history
iBug Aug 31, 2025
31b4b13
Merge branch 'mmistakes:master' into develop
JohnScottUK Sep 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,43 @@

### Enhancements

- Updated Traditional Chinese translation (#5250)
- Add built-in support for jekyll-gfm-admonitions (#5312)

## [4.27.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.3)

### Bug Fixes

- Add explicit CSS rules for `.sr-only` following Font Awesome 7's changes. (#5296)

## [4.27.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.2)

### Enhancements

- Hide `.page__footer-follow` if there are no links nor atom feed. (#5279)
- Add HTML escaping for some titles, labels and metada that was missing. (#5276)
- Add optional `footer.since` for copyright time range. (#5275)

### Bug Fixes

- Add `escape_once` to gallery title and alt text.

## [4.27.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.1)

### Enhancements

- Add a "Share on Bluesky" button (#5179)
- Add preset variables for modern font stack (#5033)
- Update X share button to match brand color (#5245)

### Bug Fixes

- Fix wrong icon and color for X share button.

## [4.27.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.0)

### Enhancements

- Add RTL Support. [#4886](https://github.com/mmistakes/minimal-mistakes/pull/4886)
- Add missing Polish translation. [#4890](https://github.com/mmistakes/minimal-mistakes/pull/4890)
- Rewrite most directions with [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
Expand All @@ -13,6 +50,8 @@
- Use `documents-collection.html` partial in `home` layout.
- Add Bulgarian translation. [#5003](https://github.com/mmistakes/minimal-mistakes/pull/5003)
- Add provider and comments info to `single.html` layout for non-production. (#5068)
- Tweak contrast skin $primary-color to adhere to WCAG guidelines. (#5126)
- Update social share buttons to reflect Twitter rebranding to X (#5210)

### Bug Fixes

Expand All @@ -23,6 +62,8 @@
- Fix bad <figure> HTML if "alt" contains quotes.
- Fix extra newline generated in `_includes/post_pagination.html`.
- Hide hidden links & remove the overlay when one is clicked. [#5042](https://github.com/mmistakes/minimal-mistakes/pull/5042)
- Fix typo in "Configuration" (#5106)
- bundle exec jekyll serve will fail if more than once (#5193)

### Documentation & Maintenance

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ To install:
bundle
```

4. Add `remote_theme: "mmistakes/minimal-mistakes@4.26.2"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.27.3"` 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:
Expand Down
4 changes: 4 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,7 @@ file "docs/_pages/home.md" => "package.json" do |t|
content = content.gsub(/(\breleases\/tag\/|Latest release v)[\d.]+/, '\1' + package_json["version"])
File.write(t.name, content)
end

task :gem do
sh 'gem build minimal-mistakes-jekyll.gemspec'
end
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ footer:
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
# url:
since: "2013"


# Reading Files
Expand All @@ -184,6 +185,7 @@ exclude:
- gulpfile.js
- LICENSE
- log
- minimal-mistakes-jekyll.gemspec
- node_modules
- package.json
- package-lock.json
Expand Down
58 changes: 29 additions & 29 deletions _data/ui-text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,53 +429,53 @@ zh-SG:
<<: *DEFAULT_ZH_HANS
# Taiwan (Traditional Chinese)
zh-TW: &DEFAULT_ZH_HANT
skip_links :
skip_primary_nav : "轉至主導航欄"
skip_content : "轉至内容"
skip_footer : "轉至頁脚"
skip_links : "跳過連結"
skip_primary_nav : "跳至主導覽"
skip_content : "跳至內容"
skip_footer : "跳至頁尾"
page : "頁面"
pagination_previous : "前一頁"
pagination_next : "後一頁"
pagination_previous : "上一頁"
pagination_next : "下一頁"
breadcrumb_home_label : "首頁"
breadcrumb_separator : "/"
menu_label : "切換選單"
search_label : "切換搜索"
toc_label : "本頁"
menu_label : "選單"
search_label : "搜尋"
toc_label : "本頁目錄"
ext_link_label : "外部連結"
less_than : "少於"
minute_read : "分鐘閱讀"
share_on_label : "分享到"
share_on_label : "分享至"
meta_label :
tags_label : "標籤:"
categories_label : "分類:"
date_label : "更新時間:"
comments_label : "留言"
comments_title : "留言內容"
more_label : "了解更多"
related_label : "猜您有與趣"
follow_label : "追蹤:"
feed_label : "RSS Feed"
powered_by : "Powered by"
comments_title : "留言"
more_label : "閱讀更多"
related_label : "您可能也會有興趣"
follow_label : "追蹤"
feed_label : "訂閱 Feed"
powered_by : "採用技術:"
website_label : "網站"
email_label : "電子信箱"
email_label : "電子郵件"
recent_posts : "最新文章"
undefined_wpm : "_config.yml 中未定義 words_per_minute"
comment_form_info : "您的電子信箱不會被公開. 必填部份已標記"
comment_form_comment_label : "留言內容"
undefined_wpm : "設定檔 (_config.yml) 中缺少 `words_per_minute` 參數"
comment_form_info : "您的電子郵件不會被公開。必填欄位已標註星號 (*)"
comment_form_comment_label : "留言"
comment_form_md_info : "支援 Markdown 語法。"
comment_form_name_label : "名字"
comment_form_email_label : "電子信箱帳號"
comment_form_website_label : "網頁 (可選填)"
comment_form_name_label : "名稱"
comment_form_email_label : "電子郵件地址"
comment_form_website_label : "網站 (選填)"
comment_btn_submit : "送出留言"
comment_btn_submitted : "已送出"
comment_success_msg : "感謝您的留言! 審核後將會顯示在站上。"
comment_error_msg : "抱歉,部份資料輸入有問題。請確認資料填寫正確後再試一次。"
comment_error_msg : "抱歉,您提交的資料有誤。請確認所有必填欄位皆已正確填寫後再試一次。"
loading_label : "載入中..."
search_label_text : "輸入您要搜索的關鍵詞..."
search_placeholder_text : "輸入您要搜索的關鍵詞..."
search_algolia_no_results : "沒有結果"
results_found : "條匹配的記錄"
back_to_top : "回到頂部"
search_label_text : "輸入您要搜尋的關鍵字..."
search_placeholder_text : "輸入您要搜尋的關鍵字..."
search_algolia_no_results : "找不到結果"
results_found : "找到結果"
back_to_top : "回到頁首"
zh-HK:
<<: *DEFAULT_ZH_HANT

Expand Down
4 changes: 2 additions & 2 deletions _includes/copyright.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Minimal Mistakes Jekyll Theme 4.26.2 by Michael Rose
Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
Minimal Mistakes Jekyll Theme 4.27.3 by Michael Rose
Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
-->
4 changes: 2 additions & 2 deletions _includes/copyright.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Minimal Mistakes Jekyll Theme 4.26.2 by Michael Rose
* Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
* Minimal Mistakes Jekyll Theme 4.27.3 by Michael Rose
* Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
* Free for personal and commercial use under the MIT license
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
*/
9 changes: 7 additions & 2 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% unless site.atom_feed.hide %}
{% assign show_atom = true %}
{% endunless %}
{% if site.footer.links or show_atom %}
<div class="page__footer-follow">
<ul class="social-icons">
{% if site.data.ui-text[site.locale].follow_label %}
Expand All @@ -7,7 +11,7 @@
{% if site.footer.links %}
{% for link in site.footer.links %}
{% if link.label and link.url %}
<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>
<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>
{% endif %}
{% endfor %}
{% endif %}
Expand All @@ -17,5 +21,6 @@
{% endunless %}
</ul>
</div>
{% endif %}

<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>
<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>
6 changes: 3 additions & 3 deletions _includes/gallery
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
{% for img in gallery %}
{% if img.url %}
<a href="{{ img.url | relative_url }}"
{% if img.title %}title="{{ img.title }}"{% endif %}>
{% if img.title %}title="{{ img.title | escape_once }}"{% endif %}>
<img src="{{ img.image_path | relative_url }}"
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
alt="{% if img.alt %}{{ img.alt | escape_once }}{% endif %}">
</a>
{% else %}
<img src="{{ img.image_path | relative_url }}"
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
alt="{% if img.alt %}{{ img.alt | escape_once }}{% endif %}">
{% endif %}
{% endfor %}
{% if include.caption %}
Expand Down
4 changes: 2 additions & 2 deletions _includes/masthead.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
{% endunless %}
<a class="site-title" href="{{ '/' | relative_url }}">
{{ site.masthead_title | default: site.title }}
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle }}</span>{% endif %}
{{ site.masthead_title | default: site.title | escape_once | strip }}
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle | escape_once | strip }}</span>{% endif %}
</a>
<ul class="visible-links">
{%- for link in site.data.navigation.main -%}
Expand Down
6 changes: 3 additions & 3 deletions _includes/seo.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
<meta name="description" content="{{ seo_description }}">

{% if author.name %}
<meta name="author" content="{{ author.name | default: author }}">
<meta name="author" content="{{ author.name | default: author | escape_once | strip }}">
{% if og_type == "article" %}
<meta property="article:author" content="{{ author.name | default: author }}">
<meta property="article:author" content="{{ author.name | default: author | escape_once | strip }}">
{% endif %}
{% endif %}

<meta property="og:type" content="{{ og_type }}">
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
<meta property="og:site_name" content="{{ site.title }}">
<meta property="og:site_name" content="{{ site.title | escape_once | strip }}">
<meta property="og:title" content="{{ page_title }}">
<meta property="og:url" content="{{ canonical_url }}">

Expand Down
16 changes: 13 additions & 3 deletions _includes/social-share.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
<section class="page__share">
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>

<a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--twitter" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fab fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
<a href="https://x.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--x" aria-label="Share on X" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} X">
<i class="fab fa-fw fa-x-twitter" aria-hidden="true"></i><span> X</span>
</a>

<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" aria-label="Share on Facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook">
<i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span>
</a>

<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" aria-label="Share on LinkedIn" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn">
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span>
</a>

<a href="https://bsky.app/intent/compose?text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--bluesky" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Bluesky">
<i class="fab fa-fw fa-bluesky" aria-hidden="true"></i><span> Bluesky</span>
</a>
</section>
2 changes: 2 additions & 0 deletions _sass/minimal-mistakes/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ html {
/* sticky footer fix */
position: relative;
min-height: 100%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

body {
Expand Down
6 changes: 5 additions & 1 deletion _sass/minimal-mistakes/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,13 @@
(warning, $warning-color),
(danger, $danger-color),
(info, $info-color),
/* brands */
(bluesky, $bluesky-color),
(facebook, $facebook-color),
(linkedin, $linkedin-color),
(mastodon, $mastodon-color),
(twitter, $twitter-color),
(linkedin, $linkedin-color);
(x, $x-color);

@each $buttoncolor, $color in $buttoncolors {
&--#{$buttoncolor} {
Expand Down
4 changes: 2 additions & 2 deletions _sass/minimal-mistakes/_copyright.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Minimal Mistakes Jekyll Theme 4.26.2 by Michael Rose
* Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
* Minimal Mistakes Jekyll Theme 4.27.3 by Michael Rose
* Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
* Free for personal and commercial use under the MIT license
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
*/
18 changes: 12 additions & 6 deletions _sass/minimal-mistakes/_notices.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,36 +74,42 @@

/* Default notice */

.notice {
.notice,
.markdown-alert {
@include notice($light-gray);
}

/* Primary notice */

.notice--primary {
.notice--primary,
.markdown-alert-important {
@include notice($primary-color);
}

/* Info notice */

.notice--info {
.notice--info,
.markdown-alert-note {
@include notice($info-color);
}

/* Warning notice */

.notice--warning {
.notice--warning,
.markdown-alert-warning {
@include notice($warning-color);
}

/* Success notice */

.notice--success {
.notice--success,
.markdown-alert-tip {
@include notice($success-color);
}

/* Danger notice */

.notice--danger {
.notice--danger,
.markdown-alert-caution {
@include notice($danger-color);
}
Loading