# Beautiful Hugo theme: Getting no such template error

**URL:** <https://discourse.gohugo.io/t/beautiful-hugo-theme-getting-no-such-template-error/54458>\
**Category:** Using Themes\
**Created:** [April 21, 2025, 3:17pm UTC](https://discourse.gohugo.io/t/beautiful-hugo-theme-getting-no-such-template-error/54458 "2025-04-21T15:17:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffself66](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jeffself66/32/22970_2.png) [@jeffself66](https://discourse.gohugo.io/u/jeffself66)\
**Post date:** [April 21, 2025, 3:17pm UTC](https://discourse.gohugo.io/t/beautiful-hugo-theme-getting-no-such-template-error/54458/1 "2025-04-21T15:17:02Z")

</div>

My site has been running great. I tried adding a new post today, but I received this error:

Error: error building site: html/template:single.html:94:24: no such template “\_internal/disqus.html”

I’m using the BeautifulHugo theme. The error happens under this area:

```
  {{ if .Site.Config.Services.Disqus.Shortname }}
      <div class="disqus-comments">
        {{ template "_internal/disqus.html" . }}
      </div>
      {{ end }}

```

I’m not running Disqus. This is all I have in my Hugo.toml file:

[menu]

[[menu.main]]  
name = ‘Blog’  
weight = 1

[[menu.main]]  
name = ‘Baseball’  
url = ‘baseball’  
weight = 2

[[menu.main]]  
name = ‘Basketball’  
url = ‘basketball’  
weight = 3

[[menu.main]]  
name = ‘Football’  
url = ‘football’  
weight = 4

[[menu.main]]  
name = ‘Categories’  
url = ‘categories’  
weight = 5

[Params]  
mainSections = [‘posts’]  
rss = true  
comments = true  
readingTime = true  
wordCount = true  
socialShare = true  
delayDisqus = true  
showRelatedPosts = true

Any ideas as to what is causing this? I am running the latest version of Hugo. 0.146.6. If I comment out the line for the template in single.html and partials/disqus.html, then Hugo works again.

---

<div class="post-metadata">

**Author:** ![tyco](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/tyco/32/23754_2.png) [@tyco](https://discourse.gohugo.io/u/tyco)\
**Post date:** [April 21, 2025, 4:01pm UTC](https://discourse.gohugo.io/t/beautiful-hugo-theme-getting-no-such-template-error/54458/2 "2025-04-21T16:01:22Z")

</div>

> [@jeffself66](#):
>
> BeautifulHugo theme

> <https://github.com/halogenica/beautifulhugo/issues/531>
>
> Template system was fully refreshed on Hugo to v0.146.0. Then it may raise "Erro…r: html/template:single.html:94:24: no such template "\_internal/disqus.html"".
> 
> https://github.com/gohugoio/hugo/releases/tag/v0.146.0
