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.