Skip to content

Magazine Blog Taxonomy #1499

Answered by ItaiAxelrad
theunearther asked this question in Q&A
Nov 5, 2020 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I would use this file architecture

src
- index.njk
- issues
  - issues.njk (archive page)
  - issues.json (add default tags & layouts)
  - music
    - music.json (add default tags & layouts)
    - an-article
       - uploads
       - index.md
  - sports
    - sports.json (add default tags & layouts)
    - another-article
       - uploads
       - index.md

Which would yield:

/ home page
/issues issue archive page
/issues/{issue} specific issue
/issues/{issue}/an-article/index.html post page

The eleventy starter blog has an example of an archive page FYI

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@binyamin
Comment options

@theunearther
Comment options

Answer selected by theunearther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants