Replies: 1 comment
-
This seems possible. I don't know if there is an official way, but I would do it with a custom taxonomy. The only issue I see is nesting months within years, as you suggested. If you really want that, I bet you could do it with a custom builder. I haven't done that yet, but here's how I would go about it with a taxonomy. I would create a custom taxonomy called something like Finally, to generate the pages, I would create a prototype page and save it to ---
layout: default
title: Posts from :prototype-term
prototype:
collection: posts
term: year |
Beta Was this translation helpful? Give feedback.
-
I haven't seen this addressed in the documentation, but is there a way to generate prototype pages for posts that groups them by publication date?
I'd like to be able to generate a prototype page like '/archives/:year' and '/archives/:year/:month'.
In my case, the permalink for each post is '/:slug', with no date information.
Beta Was this translation helpful? Give feedback.
All reactions