# Demystify Template and Hugo Cactus Theme

**URL:** <https://discourse.gohugo.io/t/demystify-template-and-hugo-cactus-theme/6911>\
**Category:** support\
**Created:** [June 8, 2017, 10:09am UTC](https://discourse.gohugo.io/t/demystify-template-and-hugo-cactus-theme/6911 "2017-06-08T10:09:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![silverdust](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/silverdust/32/3326_2.png) [@silverdust](https://discourse.gohugo.io/u/silverdust)\
**Post date:** [June 8, 2017, 10:09am UTC](https://discourse.gohugo.io/t/demystify-template-and-hugo-cactus-theme/6911/1 "2017-06-08T10:09:00Z")

</div>

I’m using cactus theme as my first theme in hugo and I really would like to know what’s going on under the hood. In this part of the source code [here](https://github.com/digitalcraftsman/hugo-cactus-theme/blob/master/layouts/_default/single.html), there’s a mysterious:

```auto
{{ template "_internal/disqus.html" . }}

```

and I can’t find any file with that name in the source files. Also in the head [here](https://github.com/digitalcraftsman/hugo-cactus-theme/blob/master/layouts/partials/head.html), there’s more like:

```auto
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/google_news.html" . }}
{{ template "_internal/schema.html" . }}
{{ template "_internal/twitter_cards.html" . }}

```

but where is this `_internal` directory. I’m new to hugo but I can see that partials refer to files that actually exist in the partials directory but these templates are hard to understand. Any help will be appreciated

---

<div class="post-metadata">

**Author:** ![mgmart](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/mgmart/32/2520_2.png) [@mgmart](https://discourse.gohugo.io/u/mgmart)\
**Post date:** [June 8, 2017, 11:00am UTC](https://discourse.gohugo.io/t/demystify-template-and-hugo-cactus-theme/6911/2 "2017-06-08T11:00:10Z")

</div>

Those templates are built into Hugo.

[Here is a post](http://brendan-quinn.xyz/post/working-with-hugos-internal-partial-templates-twitter-cards/) explaining what’s going on.

---

<div class="post-metadata">

**Author:** ![silverdust](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/silverdust/32/3326_2.png) [@silverdust](https://discourse.gohugo.io/u/silverdust)\
**Post date:** [June 8, 2017, 11:23am UTC](https://discourse.gohugo.io/t/demystify-template-and-hugo-cactus-theme/6911/3 "2017-06-08T11:23:31Z")

</div>

Thanks @mgmart
