How to define taxonomy layout

Hi !

I would like to create a custom layout for tags list.
at the moment, when I click on a tag, I’m going to the page : localhost/tags/mytag

the layout behind targets : layout/_default/list.html

I struggle to target another layout, I’ve tried different options based on the documentation:

layout/taxonomy/list.tags.html
layout/tags/list.html

but I’m still stuck to the _default/list.html

does anyone could help me ?

many thanks !!

Gab

Hi,

Hugo has a lookup order that it uses to determine which layout to use: Hugo's Lookup Order | Hugo

Have you tried, for example, layouts/taxonomy/list.html or layouts/tag/list.html ?

You rocks !

I had to restart hugo server to see the change

Thanks :slight_smile: