Skip to content

Don't output Archives unless posts collection#137

Closed
ghost wants to merge 1 commit intogh-pagesfrom
unknown repository
Closed

Don't output Archives unless posts collection#137
ghost wants to merge 1 commit intogh-pagesfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Feb 28, 2017

Meta information was intended to be used only in posts. This change makes it a useful addition to any site collection. It works by only outputting the Archives link when the collection being operated on is the posts collection, which is a "hardcoded collection" according to Jekyll docs (and my own trail and error with Jekyll 3.3).

Meta information was intended to be used only in posts. This change makes it a useful addition to any site collection. It works by only outputting the _Archives_ link when the collection being operated on is the `posts` collection, which is a "hardcoded collection" [according to Jekyll docs](https://jekyllrb.com/docs/collections/) (and my own trail and error with Jekyll 3.3).
@ghost
Copy link
Author

ghost commented Feb 28, 2017

Closing this as the wrapping div for this section has id="post-nav". Submitting a separate PR with the fix.

@ghost ghost closed this Feb 28, 2017
@ghost ghost deleted the patch-3 branch February 28, 2017 10:15
@ghost ghost mentioned this pull request Feb 28, 2017
rollingrock pushed a commit to rollingrock/joelucky that referenced this pull request Aug 31, 2025
This pull request was closed.
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.

0 participants