Hide index page from page-archive, resolves #2481 (#2482)

This commit is contained in:
iBug ♦ 2020-04-14 06:55:19 +08:00 committed by GitHub
parent f3c74113fd
commit 07957f6d64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 3 deletions

View file

@ -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)

View file

@ -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)

View file

@ -1,6 +1,7 @@
---
layout: splash
permalink: /
hidden: true
header:
overlay_color: "#5e616c"
overlay_image: /assets/images/mm-home-page-feature.jpg
@ -34,4 +35,4 @@ feature_row:
btn_label: "Learn more"
---
{% include feature_row %}
{% include feature_row %}

View file

@ -6,5 +6,7 @@ author_profile: false
---
{% for post in site.pages %}
{% include archive-single.html %}
{% endfor %}
{% unless post.hidden %}
{% include archive-single.html %}
{% endunless %}
{% endfor %}