# Auto-fill .Title with h1 value

**URL:** https://discourse.gohugo.io/t/auto-fill-title-with-h1-value/26585
**Category:** support
**Created:** [June 29, 2020, 4:53pm UTC](https://discourse.gohugo.io/t/auto-fill-title-with-h1-value/26585 "2020-06-29T16:53:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![trib0r3](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@trib0r3](https://discourse.gohugo.io/u/trib0r3)
#### Post date: [June 29, 2020, 4:53pm UTC](https://discourse.gohugo.io/t/auto-fill-title-with-h1-value/26585/1 "2020-06-29T16:53:59Z")

</div>

Hello,

I would like to easily move my notes to hugo theme, unfortunately hugo usually likes to use `.Site.Title` for rendering site’s title.

I have notes in format:

````
```
tags: [..]
```
# My Note
...

````

Notice that I don’t have `title` set.

I would like to know if it is possible to set somehow globally `.Site.Param` to the contents of h1 (`# My Note`). If it isn’t possible then what about collecting just h1 data?

---

<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: [June 29, 2020, 6:46pm UTC](https://discourse.gohugo.io/t/auto-fill-title-with-h1-value/26585/2 "2020-06-29T18:46:07Z")

</div>

No, this is not possible. This functionality has been requested and rejected a couple of times.

If you’re doing a one-time import of many pages, I’d write a script to convert the pages from one format to another.

---

<div class="post-metadata">

### Author: ![trib0r3](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@trib0r3](https://discourse.gohugo.io/u/trib0r3)
#### Post date: [June 29, 2020, 7:29pm UTC](https://discourse.gohugo.io/t/auto-fill-title-with-h1-value/26585/3 "2020-06-29T19:29:39Z")

</div>

Thats a shame ☹ 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 1, 2020, 7:29pm UTC](https://discourse.gohugo.io/t/auto-fill-title-with-h1-value/26585/4 "2020-07-01T19:29:44Z")

</div>

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