Where do I customize the /tags and /tags/term pages?

I want to customize the /tags and /tags/term pages, but I can’t find them in the template I’m using (learn). I assume they’re implemented using partials but I don’t know what I should name them, or what is available in them.

Check out the following two lists;

Taxonomy List Lookup:

Taxonomy Term Lookup:

Replacing “categories” with “tags” should do the trick.
They are very probably NOT in partials. More like in the _default folder or the post type folder they belong to.

1 Like

Super – turns out to be layout/_default/list.html for both. Thanks!

You can add templates for specific tags if that’s what you are looking for. Also, you can place an _index.md with params in content/tags/christmas and access that information.

For example, this lets me customize the description and header of that tag:

title: Christmas
description: 'A view of christmas in Lisbon'
- src: christmas.jpg
  name: header
<div class="text-center">
    {{< copyright name="Toni Cuenca" href="https://unsplash.com/photos/CvFARq2qu8Y" >}}
1 Like

Not just content/tags/christmas.md?

That would work too, but putting it into a folder enables you to use page resources (like photos/PDF).

1 Like