Skip to content

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" #311

@marek22k

Description

@marek22k

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions