Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Enable hidden posts #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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