Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit 2c3fb40

Browse files
committed
Add hidden: true test post
1 parent e482070 commit 2c3fb40

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1212

1313
### Added
1414
- Add `posts_limit` override to `home` layout to set how many posts are shown (when not using pagination).
15+
- Add `hidden: true` test post to verify it is excluded from home page pagination.
1516

1617
### Fixed
1718
- Fix `remote_theme` name in README documentation. [#268](https://github.com/mmistakes/so-simple-theme/pull/268)

docs/_posts/2018-02-25-hidden-post.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "Hidden Post"
3+
hidden: true
4+
last_modified_at:
5+
---
6+
7+
This post has YAML Front Matter of `hidden: true` and should not appear in `paginator.posts`.
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "Hidden Post"
3+
hidden: true
4+
last_modified_at:
5+
---
6+
7+
This post has YAML Front Matter of `hidden: true` and should not appear in `paginator.posts`.

0 commit comments

Comments
 (0)