Skip to content

Preview of user guide fails with hugo v0.125.0 #1930

@deining

Description

@deining

When previewing the user guide with newly released hugo version 0.125.0, an error is thrown:

$ hugo --themesDir ../..
Start building sites … 
hugo v0.125.0-a32400b5f4e704daf7de19f44584baf77a4501ab+extended linux/amd64 BuildDate=2024-04-16T15:04:41Z VendorInfo=gohugoio

ERROR render of "page" failed: "/home/andreas/docsy/layouts/blog/baseof.html:4:7": execute of template failed: template: blog/single.html:4:7: executing "blog/single.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:53:16: no such template "_internal/google_analytics_async.html"
ERROR render of "section" failed: "/home/andreas/docsy/layouts/blog/baseof.html:4:7": execute of template failed: template: blog/list.html:4:7: executing "blog/list.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:53:16: no such template "_internal/google_analytics_async.html"
Total in 198 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/home/andreas/docsy/layouts/blog/baseof.html:4:7": execute of template failed: template: blog/single.html:4:7: executing "blog/single.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:53:16: no such template "_internal/google_analytics_async.html"

This is due to the use of deprecated async Google Analytics internal template, see this issue for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions