# What does the hyphen do here? {{-

**URL:** <https://discourse.gohugo.io/t/what-does-the-hyphen-do-here/6152>\
**Category:** support\
**Created:** [April 13, 2017, 1:11pm UTC](https://discourse.gohugo.io/t/what-does-the-hyphen-do-here/6152 "2017-04-13T13:11:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![appernetic](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/appernetic/32/1464_2.png) [@appernetic](https://discourse.gohugo.io/u/appernetic)\
**Post date:** [April 13, 2017, 1:11pm UTC](https://discourse.gohugo.io/t/what-does-the-hyphen-do-here/6152/1 "2017-04-13T13:11:33Z")

</div>

Sometimes I see {{- instead of the more common {{.

I have searched the documentation but have not found anything.

So what does for example:

{{- .Site.Title -}}

---

<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:** [April 13, 2017, 1:29pm UTC](https://discourse.gohugo.io/t/what-does-the-hyphen-do-here/6152/2 "2017-04-13T13:29:54Z")

</div>

Removes white space

[https://hugodocs.info/templates/introduction/#whitespace](https://hugodocs.info/templates/introduction/#whitespace)

---

<div class="post-metadata">

**Author:** ![appernetic](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/appernetic/32/1464_2.png) [@appernetic](https://discourse.gohugo.io/u/appernetic)\
**Post date:** [April 13, 2017, 1:33pm UTC](https://discourse.gohugo.io/t/what-does-the-hyphen-do-here/6152/3 "2017-04-13T13:33:55Z")

</div>

Thanks for the info and the new link, and sorry for my ignorance! 😌

---

<div class="post-metadata">

**Author:** ![kaushalmodi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/kaushalmodi/32/2567_2.png) [@kaushalmodi](https://discourse.gohugo.io/u/kaushalmodi)\
**Post date:** [April 13, 2017, 2:20pm UTC](https://discourse.gohugo.io/t/what-does-the-hyphen-do-here/6152/4 "2017-04-13T14:20:47Z")

</div>

No need to apologize 🙂 Everyone’s here to learn and share.

I just learnt about this [recently](https://gitlab.com/kaushalmodi/hugo-theme-refined/commit/ab7fa26ab3af8e3fb3fb691901284e067ef21a40)… Helps make the templates more readable.

---

<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:** [April 13, 2017, 7:32pm UTC](https://discourse.gohugo.io/t/what-does-the-hyphen-do-here/6152/5 "2017-04-13T19:32:53Z")

</div>

Agreed. No apologies needed. Please let the community know if you have anymore questions!
