Open
Description
_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"
Metadata
Metadata
Assignees
Labels
No labels