Custom layout for custom taxonomy

I want custom layout for custom taxonomy like categories, tags, series

  • localhost:1313/tags/
  • localhost:1313/series/

My ideal is with each custom taxonomy will have another layout.
How can do it. Thank so much.

@tatdat I’ve moved your 2nd question to a new thread since your original question was answered by @pointyfar

2 Likes

Hi,

Have a read about Hugo’s layout lookup order here: https://gohugo.io/templates/lookup-order/#examples-layout-lookup-for-taxonomy-terms-pages

This means you can define a different layout for each term.

1 Like