Hi there,
I’m trying to use list.html
and single.html
in my theme for tags. The idea being /tags
should show a list of the sites tags, where as /tags/tech
would show a list of articles with the tech
tag.
Currently /tags/tech
shows the list of articles nicely, but is using the list
template. Because this is a single tag, shouldn’t it be using the single.html
template?
My theme folder structure is as so:
theme/
├── [...]
└── layouts/
├── [...]
├── tags/
│ ├── list.html <-- the template used for /tags and /tags/tech
│ └── single.html <-- what I want /tags/tech to use
└── taxonomy/
└── list.html <-- works great
TLDR; How do I configure my templates so /tags
and /tags/tech
use seperate templates?