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

_internal/google_analytics_async.html is deprecated and breaks Hugo #174

Open
bryndin opened this issue Jun 15, 2024 · 0 comments
Open

_internal/google_analytics_async.html is deprecated and breaks Hugo #174

bryndin opened this issue Jun 15, 2024 · 0 comments

Comments

@bryndin
Copy link

bryndin commented Jun 15, 2024

_internal/google_analytics_async.html is deprecated according to this page: https://discourse.gohugo.io/t/build-error-on-v0-125-2-calling-internal-template-internal-google-analytics-async-html/49410

It breaks Hugo. From what I understand it needs to be replaced with _internal/google_analytics.html

hugo server -D --navigateToChanged
hugo v0.127.0-74e0f3bd63c51f3c7a0f07a7c779eec9e922957e+extended linux/amd64 BuildDate=2024-06-05T10:27:59Z VendorInfo=snap:0.127.0

ERROR render of "taxonomy" failed: "/home/db/projects/blog/themes/maupassant/layouts/_default/baseof.html:13:23": execute of template failed: template: _default/terms.html:13:23: executing "_default/terms.html" at <partial "footer" .>: error calling partial: execute of template failed: html/template:partials/footer.html:134:16: no such template "_internal/google_analytics_async.html"
ERROR render of "404" failed: "/home/db/projects/blog/themes/maupassant/layouts/_default/baseof.html:13:23": execute of template failed: template: 404.html:13:23: executing "404.html" at <partial "footer" .>: error calling partial: execute of template failed: html/template:partials/footer.html:134:16: no such template "_internal/google_analytics_async.html"
Built in 19 ms
Error: error building site: render: failed to render pages: render of "home" failed: "/home/db/projects/blog/themes/maupassant/layouts/_default/baseof.html:13:23": execute of template failed: template: index.html:13:23: executing "index.html" at <partial "footer" .>: error calling partial: execute of template failed: html/template:partials/footer.html:134:16: no such template "_internal/google_analytics_async.html"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant