# How to name list templates?

**URL:** <https://discourse.gohugo.io/t/how-to-name-list-templates/949>\
**Category:** support\
**Created:** [March 23, 2015, 6:11pm UTC](https://discourse.gohugo.io/t/how-to-name-list-templates/949 "2015-03-23T18:11:04Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![rdwatters](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rdwatters/32/2848_2.png) [@rdwatters](https://discourse.gohugo.io/u/rdwatters)\
**Post date:** [February 28, 2017, 6:30pm UTC](https://discourse.gohugo.io/t/how-to-name-list-templates/949/22 "2017-02-28T18:30:42Z")

</div>

> [@SamPotasz](#):
>
> This worked for me, but also should be noted that defining “title” in the header metadata doesn’t seem to work so I had to use some other variable name like “displaytitle”.

Do you mean?

```auto
<head>
    <title>{{.Title}}</title>>
</head>

```

This should work on both section/list and single content pages.

---

<div class="post-metadata">

**Author:** ![SamPotasz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/sampotasz/32/2172_2.png) [@SamPotasz](https://discourse.gohugo.io/u/SamPotasz)\
**Post date:** [March 1, 2017, 4:58pm UTC](https://discourse.gohugo.io/t/how-to-name-list-templates/949/23 "2017-03-01T16:58:36Z")

</div>

haha duh. Yes!

[Previous page](https://discourse.gohugo.io/t/how-to-name-list-templates/949.md?page=1)
