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 and jesuswasrasta committed Jul 8, 2020
1 parent 04cb479 commit f974be1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
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 %}
12 changes: 12 additions & 0 deletions docs/_pages/page-archive.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: archive
title: "Page Archive"
permalink: /page-archive/
author_profile: false
---

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

0 comments on commit f974be1

Please sign in to comment.