Skip to content

feat: Enable hidden posts#151

Open
bkoprucu wants to merge 1 commit intojeffreytse:masterfrom
bkoprucu:enable-hidden-posts
Open

feat: Enable hidden posts#151
bkoprucu wants to merge 1 commit intojeffreytse:masterfrom
bkoprucu:enable-hidden-posts

Conversation

@bkoprucu
Copy link

@bkoprucu bkoprucu commented Feb 1, 2024

The 'hidden' attribute is by default used by Jekyll to exclude posts from paginator, to create unlisted pages, accessible only if their URL is known.

Current implementation uses 'hidden' to hide selected view sections like 'comments' or 'related posts, disabling Jekyll's hidden page feature.

This commit:

  • Renames existing hidden attribute to hide, to avoid conflict and restore Jekyll behavior.
  • Applies hiding the post feature to navigator and other listings

The 'hidden' attribute is by default used by Jekyll to exclude posts from paginator, to create pages not listed / only accessible if you know the url.

Current implementation uses 'hidden' to hide selected view sections like 'comments' or 'related posts'

This commit
- Renames existing `hidden` attribute to `hide`, to avoid conflict and restore Jekyll behavior.
- Applies hiding the post feature to navigator and other listings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant