diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1bb28592f877..000000000000 --- a/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: ruby -cache: bundler -gemfile: docs/Gemfile -script: - - bundle exec jekyll algolia --source docs --destination docs/_site --config docs/_config.yml -branches: - only: - # Change this to gh-pages if you're deploying using the gh-pages branch - - master -rvm: - - 2.4 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 18d1d307ea31..61aae5157087 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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). @@ -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 @@ -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 diff --git a/README.md b/README.md index 3b66aeab73fe..9298269786af 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/_includes/copyright.js b/_includes/copyright.js index b70c0374f557..647651203203 100644 --- a/_includes/copyright.js +++ b/_includes/copyright.js @@ -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 */ diff --git a/_includes/footer.html b/_includes/footer.html index 2b2b7ee1e479..43ca551e4e5b 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,3 +1,7 @@ +{% unless site.atom_feed.hide %} + {% assign show_atom = true %} +{% endunless %} +{% if site.footer.links or show_atom %} +{% endif %} - + diff --git a/_includes/gallery b/_includes/gallery index 71a9e1e1b3d1..0b5892f0a4ee 100644 --- a/_includes/gallery +++ b/_includes/gallery @@ -20,13 +20,13 @@ {% for img in gallery %} {% if img.url %} + {% if img.title %}title="{{ img.title | escape_once }}"{% endif %}> {% if img.alt %}{{ img.alt }}{% endif %} + alt="{% if img.alt %}{{ img.alt | escape_once }}{% endif %}"> {% else %} {% if img.alt %}{{ img.alt }}{% endif %} + alt="{% if img.alt %}{{ img.alt | escape_once }}{% endif %}"> {% endif %} {% endfor %} {% if include.caption %} diff --git a/_includes/masthead.html b/_includes/masthead.html index f919fb77937c..c97b2aa34d0d 100644 --- a/_includes/masthead.html +++ b/_includes/masthead.html @@ -8,8 +8,8 @@ {% endunless %} - {{ site.masthead_title | default: site.title }} - {% if site.subtitle %}{{ site.subtitle }}{% endif %} + {{ site.masthead_title | default: site.title | escape_once | strip }} + {% if site.subtitle %}{{ site.subtitle | escape_once | strip }}{% endif %}