diff --git a/CHANGELOG.md b/CHANGELOG.md index ebde257b..4a2f5354 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Bug Fixes + +- "You may also enjoy" no longer recommends hidden posts. [#4653](https://github.com/mmistakes/minimal-mistakes/issues/4653) + ### Enhancements - Add Ukrainian translations. [#4273](https://github.com/mmistakes/minimal-mistakes/pull/4273) diff --git a/_includes/page__related.html b/_includes/page__related.html new file mode 100644 index 00000000..1b655d6d --- /dev/null +++ b/_includes/page__related.html @@ -0,0 +1,15 @@ +
diff --git a/_layouts/single.html b/_layouts/single.html index 1f547c75..a5693f32 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -70,28 +70,9 @@ layout: default {% comment %}{% endcomment %} {% if page.id and page.related and site.related_posts.size > 0 %} - + {% include page__related.html posts=site.related_posts %} {% comment %}{% endcomment %} {% elsif page.id and page.related %} - + {% include page__related.html posts=site.posts %} {% endif %} diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index e79f1478..5cbe6b13 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -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-04-23T12:08:54+08:00' +last_modified_at: '2024-04-23T12:18:03+08:00' toc: false --- @@ -17,6 +17,10 @@ toc: false {% raw %} ## Unreleased +### Bug Fixes + +- "You may also enjoy" no longer recommends hidden posts. [#4653](https://github.com/mmistakes/minimal-mistakes/issues/4653) + ### Enhancements - Add Ukrainian translations. [#4273](https://github.com/mmistakes/minimal-mistakes/pull/4273)