Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Tracked by #1907
deining opened this issue Apr 16, 2024 · 1 comment · Fixed by #1931
Closed
Tracked by #1907

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

deining opened this issue Apr 16, 2024 · 1 comment · Fixed by #1931
Labels
bug Something isn't working dependencies Pull requests that update a dependency file

Comments

@deining
Copy link
Collaborator

deining commented Apr 16, 2024

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.

@chalin
Copy link
Collaborator

chalin commented Apr 23, 2024

Marking this as a part of:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants