I have a taxonomy, tags
, that is only ever associated with posts. posts
has its own baseof.html
. I’m trying to figure out how to get the tags
to inherit the baseof from posts.
So given the following folder structure:
layout/
└── _default/
└── baseof.html
└── posts/
├── baseof.html
├── tags.html (desired)
└── terms.html (desired)
└── tags/
└── taxonomy.html
└── terms.html
I would like tags to use the posts baseof. What I’ve tried so far is to create a new content/tags/_index.md
with layout: posts
. Doing this picks up layout/posts/terms.html
for /tags
with the correct posts/baseof.html
, however /tags/foo
falls back to layout/tags/taxonomy.html
with the _default/baseof.html
.
I have also tried setting up permalinks like tags = '/tags/:slug'
- this did not appear to do anything.
I have also tried doing a cascade
, but that also did not appear to do anything.
So is it possible for the tags
taxonomy to use this other, non-default, template?
If it’s not, I did see I can set my own baseof.html
in tags/baseof.html
which would work, just leads to duplicate logic / code.