Skip to content

How to personalize taxonomy page view mode #2244

Answered by chrede88
lucmos asked this question in Q&A
Discussion options

You must be logged in to vote

The template lookup order is listed here: https://gohugo.io/templates/lookup-order/#examples-layout-lookup-for-term-pages

The file that controls the layout of both tag list pages (like the one you linked to) and pages for single tags (like this one https://luca.moschella.dev/tag/data-mining/).

In wowchemy this file is wowchemy/layout/_default/list.html. You can override it by adding your own file to ./layout/_default/list.html.

Or if you just want to make a new template for tags, then add a template to ./layouts/taxonomy/term.html. You can use the default list template as a starting point. The event layout is defined in wowchemy/layouts/section/event.html.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lucmos
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants