coredns.io
coredns.io copied to clipboard
Failed to build: `ERROR render of "page" failed: execute of template failed: html/template:blog/single.html:27:14: no such template "_internal/google_analytics_async.html"`
When I try to build coredns docs, I get the following error:
$ make
hugo -d public/
Start building sites …
hugo v0.134.1+extended linux/amd64 BuildDate=unknown
ERROR render of "page" failed: execute of template failed: html/template:blog/single.html:27:14: no such template "_internal/google_analytics_async.html"
Total in 94 ms
Error: error building site: render: failed to render pages: render of "404" failed: execute of template failed: html/template:404.html:27:14: no such template "_internal/google_analytics_async.html"
make: *** [Makefile:4: all] Error 1
After removing the lines requires the template, I get another error:
ERROR deprecated: .Site.DisqusShortname was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.135.0. Use .Site.Config.Services.Disqus.Shortname instead.
Are there any news? Is there a way to get the coredns website for offline usage? @chrisohaver
HUGO_VERSION = "0.100.2"
Mhh, specifying this as an env variable does not work. How can I access an old Hugo version? Wouldn't it make more sense to use a newer one?
$ HUGO_VERSION="0.100.2" make
hugo -d public/
Start building sites …
hugo v0.140.1+extended linux/amd64 BuildDate=unknown
WARN Raw HTML omitted while rendering "/home/marek/Downloads/coredns.io/content/blog/scaling_coredns_in_k8s.md"; see https://gohugo.io/getting-started/configuration-markup/#rendererunsafe
You can suppress this warning by adding the following to your site configuration:
ignoreLogs = ['warning-goldmark-raw-html']
WARN Raw HTML omitted while rendering "/home/marek/Downloads/coredns.io/content/blog/cure53.md"; see https://gohugo.io/getting-started/configuration-markup/#rendererunsafe
You can suppress this warning by adding the following to your site configuration:
ignoreLogs = ['warning-goldmark-raw-html']
WARN Raw HTML omitted while rendering "/home/marek/Downloads/coredns.io/content/manual/toc.md"; see https://gohugo.io/getting-started/configuration-markup/#rendererunsafe
You can suppress this warning by adding the following to your site configuration:
ignoreLogs = ['warning-goldmark-raw-html']
ERROR render of "/home/marek/Downloads/coredns.io/content/blog/coredns-0.9.9.md" failed: "/home/marek/Downloads/coredns.io/themes/coredns/layouts/blog/single.html:32:15": execute of template failed: template: blog/single.html:32:15: executing "main" at <.Site.DisqusShortname>: can't evaluate field DisqusShortname in type page.Site
ERROR render of "/home/marek/Downloads/coredns.io/content/blog/coredns-009.md" failed: "/home/marek/Downloads/coredns.io/themes/coredns/layouts/blog/single.html:32:15": execute of template failed: template: blog/single.html:32:15: executing "main" at <.Site.DisqusShortname>: can't evaluate field DisqusShortname in type page.Site
ERROR render of "/home/marek/Downloads/coredns.io/content/blog/coredns-006.md" failed: "/home/marek/Downloads/coredns.io/themes/coredns/layouts/blog/single.html:32:15": execute of template failed: template: blog/single.html:32:15: executing "main" at <.Site.DisqusShortname>: can't evaluate field DisqusShortname in type page.Site
ERROR render of "/home/marek/Downloads/coredns.io/content/blog/coredns-005.md" failed: "/home/marek/Downloads/coredns.io/themes/coredns/layouts/blog/single.html:32:15": execute of template failed: template: blog/single.html:32:15: executing "main" at <.Site.DisqusShortname>: can't evaluate field DisqusShortname in type page.Site
Total in 165 ms
Error: error building site: render: failed to render pages: render of "/home/marek/Downloads/coredns.io/content/blog/coredns-004.md" failed: "/home/marek/Downloads/coredns.io/themes/coredns/layouts/blog/single.html:32:15": execute of template failed: template: blog/single.html:32:15: executing "main" at <.Site.DisqusShortname>: can't evaluate field DisqusShortname in type page.Site
make: *** [Makefile:4: all] Error 1