Skip to content

Commit

Permalink
Fix grid entries_layout in home.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Aug 4, 2020
1 parent 3135099 commit 53ad4d3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 3 additions & 2 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ <h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | d
{% 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>

Expand Down
8 changes: 7 additions & 1 deletion docs/_docs/18-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53ad4d3

Please sign in to comment.