Skip to content

Trouble getting tagged pages to show up on tag archive/tags list #2627

Answered by mmistakes
vortexing asked this question in Q&A
Discussion options

You must be logged in to vote

We aren't using a _posts folder nor a _pages folder but rather multiple collections.

This right here is the issue. Jekyll only supports "site wide" tags on documents in _posts/. You can add tags to pages and collections, but they won't be part of the site.tags object used to generate the tag indexes.

You can look through some old issues on jekyll/jekyll where this issue was raised. There have been talks over the years to harmonize posts, pages, collections, so the behavior of categories and tags are consistent between... but to my knowledge there's be no movement on that front.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mmistakes
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2627 on December 09, 2020 05:01.