Compare commits

...

10 Commits

Author SHA1 Message Date
iBug
2f8c4e6bdc Update history from CHANGELOG
Some checks failed
build / build (push) Has been cancelled
2025-07-11 09:48:53 +08:00
Pander
db81998d57
Optional footer.since for copyright time range (#5275)
Co-authored-by: iBug <git@ibugone.com>
2025-07-11 09:48:10 +08:00
Pander
30c69ad7fc
Hide page__footer-follow if there are no links nor atom feed. (#5279)
Co-authored-by: iBug <git@ibugone.com>
2025-07-11 09:45:19 +08:00
Pander
36271d15f5
Additional HTML escaping for titles and metadata (#5276) 2025-07-11 09:43:17 +08:00
iBug
0ce3ef6bd8 Update CHANGELOG and history 2025-06-16 00:55:05 +08:00
Yosuke Kawaguchi
e675044d29
Update X share button to match brand color (#5245) 2025-06-16 00:54:36 +08:00
iBug
a59342a068 Attempt to fix X button color again 2025-05-02 18:55:06 +08:00
iBug
b7e170c5cf Release 4.27.1 💎 2025-05-02 18:52:37 +08:00
iBug
cf6c261061 Fix X share button icon and color, close #5221 2025-05-02 15:18:03 +08:00
iBug
6de27253e7 Update CHANGELOG and history 2025-04-26 14:09:51 +08:00
22 changed files with 72 additions and 19 deletions

View File

@ -4,7 +4,21 @@
### 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)
## [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)

View File

@ -121,7 +121,7 @@ To install:
bundle
```
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.27.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.27.1"` 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:

View File

@ -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

View File

@ -159,6 +159,7 @@ footer:
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
# url:
since: "2013"
# Reading Files

View File

@ -1,5 +1,5 @@
<!--
Minimal Mistakes Jekyll Theme 4.27.0 by Michael Rose
Minimal Mistakes Jekyll Theme 4.27.1 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

View File

@ -1,5 +1,5 @@
/*!
* Minimal Mistakes Jekyll Theme 4.27.0 by Michael Rose
* Minimal Mistakes Jekyll Theme 4.27.1 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

View File

@ -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 %}
@ -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 %}
@ -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>

View File

@ -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 -%}

View File

@ -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 }}">

View File

@ -2,7 +2,7 @@
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
<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="fas fa-fw fa-share-alt" aria-hidden="true"></i><span> X</span>
<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" 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">

View File

@ -37,11 +37,13 @@
(warning, $warning-color),
(danger, $danger-color),
(info, $info-color),
/* brands */
(bluesky, $bluesky-color),
(facebook, $facebook-color),
(twitter, $twitter-color),
(linkedin, $linkedin-color),
(mastodon, $mastodon-color),
(bluesky, $bluesky-color);
(twitter, $twitter-color),
(x, $x-color);
@each $buttoncolor, $color in $buttoncolors {
&--#{$buttoncolor} {

View File

@ -1,5 +1,5 @@
/*!
* Minimal Mistakes Jekyll Theme 4.27.0 by Michael Rose
* Minimal Mistakes Jekyll Theme 4.27.1 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

View File

@ -219,6 +219,7 @@ $text-alignments: left, right, start, end, center, justify;
$stackoverflow-color: ".fa-stack-exchange, .fa-stack-overflow",
$tumblr-color: ".fa-tumblr, .fa-tumblr-square",
$twitter-color: ".fa-twitter, .fa-twitter-square",
$x-color: ".fa-x-twitter, .fa-square-x-twitter",
$vimeo-color: ".fa-vimeo, .fa-vimeo-square, .fa-vimeo-v",
$vine-color: ".fa-vine",
$xing-color: ".fa-xing, .fa-xing-square",

View File

@ -142,6 +142,7 @@ $soundcloud-color: #ff3300 !default;
$stackoverflow-color: #fe7a15 !default;
$tumblr-color: #32506d !default;
$twitter-color: #55acee !default;
$x-color: #0f1419 !default;
$vimeo-color: #1ab7ea !default;
$vine-color: #00bf8f !default;
$youtube-color: #bb0000 !default;

View File

@ -1,5 +1,5 @@
/*!
* Minimal Mistakes Jekyll Theme 4.27.0 by Michael Rose
* Minimal Mistakes Jekyll Theme 4.27.1 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

View File

@ -129,6 +129,7 @@ footer:
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
url: "https://instagram.com/mmistakes"
since: "2013"
# Reading Files

View File

@ -1,3 +1,3 @@
# for use with in-page templates
---
version: 4.27.0
version: 4.27.1

View File

@ -962,6 +962,15 @@ footer:
To change "Follow:" text that precedes footer links, edit the `follow_label` key in `_data/ui-text.yml`.
The copyright notice in the footer shows the year the site has been generated. This can be overridden with `time` in `_config.yml`. If `footer.since` is added and the value is not equal to the current year or the optional value of `time`, then a time range will be shown.
```yaml
footer:
since: "2013"
```
The above will result for example in `© 2013 - 2025 Minimal ...`. Note that `time` and `footer.since` also support values other than year numbers.
## Reading files
Nothing out of the ordinary here. `include` and `exclude` may be the only things you need to alter.

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: '2025-04-23T11:56:13+08:00'
last_modified_at: '2025-07-11T09:48:51+08:00'
toc: false
---
@ -19,7 +19,21 @@ toc: false
### Enhancements
- Hide page__footer-follow if there are no links nor atom feed. [#5279](https://github.com/mmistakes/minimal-mistakes/issues/5279)
- Add HTML escaping for some titles, labels and metada that was missing. [#5276](https://github.com/mmistakes/minimal-mistakes/issues/5276)
- Add optional `footer.since` for copyright time range. [#5275](https://github.com/mmistakes/minimal-mistakes/issues/5275)
## [4.27.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.1)
### Enhancements
- Add a "Share on Bluesky" button [#5179](https://github.com/mmistakes/minimal-mistakes/issues/5179)
- Add preset variables for modern font stack [#5033](https://github.com/mmistakes/minimal-mistakes/issues/5033)
- Update X share button to match brand color [#5245](https://github.com/mmistakes/minimal-mistakes/issues/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)

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.27.0">Latest release v4.27.0</a></small>
<small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.1">Latest release v4.27.1</a></small>
feature_row:
- image_path: /assets/images/mm-customizable-feature.png
alt: "customizable"

View File

@ -1,7 +1,7 @@
{
"name": "minimal-mistakes",
"private": true,
"version": "4.27.0",
"version": "4.27.1",
"description": "Minimal Mistakes 2 column Jekyll theme.",
"repository": {
"type": "git",

View File

@ -122,6 +122,7 @@ footer:
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
url: "https://instagram.com/"
since: "2013"
# Reading Files