Fix grid entries_layout in home.html

This commit is contained in:
Michael Rose 2020-08-04 12:32:54 -04:00
parent 3135099203
commit 53ad4d343a
3 changed files with 16 additions and 3 deletions

View file

@ -1,3 +1,9 @@
## [4.20.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.1)
### Bug Fixes
- Fix grid `entries_layout` in home.html. [#2616](https://github.com/mmistakes/minimal-mistakes/pull/2616)
## [4.20.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.0)
### Bug Fixes

View file

@ -12,9 +12,10 @@ layout: archive
{% assign posts = site.posts %}
{% endif %}
<div class="entries-{{ page.entries_layout | default: 'list' }}">
{% assign entries_layout = page.entries_layout | default: 'list' %}
<div class="entries-{{ entries_layout }}">
{% for post in posts %}
{% include archive-single.html type=page.entries_layout %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>

View file

@ -5,10 +5,16 @@ permalink: /docs/history/
excerpt: "Change log of enhancements and bug fixes made to the theme."
sidebar:
nav: docs
last_modified_at: 2020-08-04T11:16:42-04:00
last_modified_at: 2020-08-04T12:31:35-04:00
toc: false
---
## [4.20.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.1)
### Bug Fixes
- Fix grid `entries_layout` in home.html. [#2616](https://github.com/mmistakes/minimal-mistakes/pull/2616)
## [4.20.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.0)
### Bug Fixes