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
4 changed files with 8 additions and 3 deletions

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 %}