~xdavidwu/xdavidwu.link

48c887fcb3fd0a419487dac39d395595da47a48c — Michael Rose 4 years ago da7aeda
Fix grid `entries_layout` in home.html
2 files changed, 9 insertions(+), 2 deletions(-)

M CHANGELOG.md
M _layouts/home.html
M CHANGELOG.md => CHANGELOG.md +6 -0
@@ 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

M _layouts/home.html => _layouts/home.html +3 -2
@@ 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>