zola icon indicating copy to clipboard operation
zola copied to clipboard

Question about taxonomy and sections

Open MSalah73 opened this issue 1 year ago • 1 comments

It's my first time working with SSG, so excuse my ignorance if the question seems naive or my lack orf understanding of taxonomy.

I'm currently using taxonomy to filter "projects" for my site. It seems that when using taxonomy in pages, the _index.md is not used even when the template header is set to the taxonomy's template. I would like to use header values like title and a list of all the pages sorted by date from the section instead of use get_section, but it seems that the _index.md is not used for taxonomy_list.html or section_name/list.html.

Shouldn't taxonomy be recognized in the section (_index.md) when using a boolean-based header, or when the pages.md has the [taxonomy] header set? It would make sense to utilize _index.md header values, considering how the template for the section section_name.html and list.html are the same (at least to me).

MSalah73 avatar May 30 '24 09:05 MSalah73

Taxonomies can be set across sections so it will never use _index.md

Keats avatar Jun 03 '24 10:06 Keats