# Trying to change /tags layout

**URL:** https://discourse.gohugo.io/t/trying-to-change-tags-layout/45133
**Category:** support
**Created:** [July 4, 2023, 12:26am UTC](https://discourse.gohugo.io/t/trying-to-change-tags-layout/45133 "2023-07-04T00:26:38Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Luiz\_Henrique\_Gomes](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/luiz_henrique_gomes/32/19728_2.png) [@Luiz\_Henrique\_Gomes](https://discourse.gohugo.io/u/Luiz_Henrique_Gomes)
#### Post date: [July 4, 2023, 12:26am UTC](https://discourse.gohugo.io/t/trying-to-change-tags-layout/45133/1 "2023-07-04T00:26:38Z")

</div>

Hi!

I’m creating a website from scratch using Hugo, without any pre-defined themes, and I need to edit the /tags page, but I don’t have any .html file for it. What should I do to customize this page?

Thanks

---

<div class="post-metadata">

### Author: ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)
#### Post date: [July 4, 2023, 1:10am UTC](https://discourse.gohugo.io/t/trying-to-change-tags-layout/45133/2 "2023-07-04T01:10:36Z")

</div>

> [@Luiz\_Henrique\_Gomes](#):
>
> I need to edit the /tags page

What does this mean?

Do you want to add **content** to the page that lists all the tags?  
Do you want to change the **structure** of the the page that lists all the tags?  
Do you want to change the **structure** of the the page that lists all the pages associated with a particular tag?

---

<div class="post-metadata">

### Author: ![Hash\_Borgir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/hash_borgir/32/6655_2.png) [@Hash\_Borgir](https://discourse.gohugo.io/u/Hash_Borgir)
#### Post date: [July 4, 2023, 2:49am UTC](https://discourse.gohugo.io/t/trying-to-change-tags-layout/45133/3 "2023-07-04T02:49:27Z")

</div>

Create `/layouts/tags/list.html` in your theme. This will be the list template for your tags, for example, `site.com/tags/something/` and all articles/posts with that tag will show up in there.

`/content/tags/_index.md` will be used to edit the front end markdown for the /tags, put any frontmatter there for if anyone goes to `site.com/tags`

`/content/tags/something/_index.md` will be used to edit the frontend/frontmatter markdown for the `something` tag.

I’m sure the resident experts can advise more, but this is what I use on my site.

---

<div class="post-metadata">

### Author: ![Luiz\_Henrique\_Gomes](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/luiz_henrique_gomes/32/19728_2.png) [@Luiz\_Henrique\_Gomes](https://discourse.gohugo.io/u/Luiz_Henrique_Gomes)
#### Post date: [July 6, 2023, 1:41pm UTC](https://discourse.gohugo.io/t/trying-to-change-tags-layout/45133/4 "2023-07-06T13:41:59Z")

</div>

That worked perfectly. Thank you!

---

<div class="post-metadata">

### Author: ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)
#### Post date: [July 8, 2023, 1:42pm UTC](https://discourse.gohugo.io/t/trying-to-change-tags-layout/45133/5 "2023-07-08T13:42:20Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
