Skip to content

Support for tags and categories #102

Answered by daveaglick
atiq-cs asked this question in Q&A
Discussion options

You must be logged in to vote

The fun thing is that Statiq Web will support any classification data you want to add to your documents out of the box. In fact, Statiq Web doesn't actually know about tags either, that name is merely a convention that CleanBlog and future blogging-oriented themes will likely support.

The gotcha here is that because themes like CleanBlog don't necessarily know what to do with extra metadata like category, you're on the hook for rigging up some pages for them and exposing them in some way.

The first tool that will be useful here is Archives. An archive file creates both an index of items and a page-per-item with the documents that contain it. So for example, an archive document for category

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by atiq-cs
Comment options

You must be logged in to vote
1 reply
@daveaglick
Comment options

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