Skip to content

Commit

Permalink
Hide index page from page-archive, resolves mmistakes#2481 (mmistakes…
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug authored Apr 13, 2020
1 parent 466ea56 commit 3a471b9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
### Bug Fixes

- Fix "Follow menu falls under post links" on small screens. [#2479](https://github.com/mmistakes/minimal-mistakes/issues/2479)
- Hide index page from page-archive. [#2482](https://github.com/mmistakes/minimal-mistakes/pull/2482)

## [4.19.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.1)

Expand Down
1 change: 1 addition & 0 deletions docs/_docs/18-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ toc: false
### Bug Fixes

- Fix "Follow menu falls under post links" on small screens. [#2479](https://github.com/mmistakes/minimal-mistakes/issues/2479)
- Hide index page from page-archive. [#2482](https://github.com/mmistakes/minimal-mistakes/pull/2482)

## [4.19.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.1)

Expand Down
3 changes: 2 additions & 1 deletion docs/_pages/home.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: splash
permalink: /
hidden: true
header:
overlay_color: "#5e616c"
overlay_image: /assets/images/mm-home-page-feature.jpg
Expand Down Expand Up @@ -34,4 +35,4 @@ feature_row:
btn_label: "Learn more"
---

{% include feature_row %}
{% include feature_row %}
6 changes: 4 additions & 2 deletions docs/_pages/page-archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
---

{% for post in site.pages %}
{% include archive-single.html %}
{% endfor %}
{% unless post.hidden %}
{% include archive-single.html %}
{% endunless %}
{% endfor %}

0 comments on commit 3a471b9

Please sign in to comment.