layer5io/docs

[Build] Failure: missing google_analytics_async.html

Closed this issue · 2 comments

Current Behavior

$make site
Checking if Go is installed...
Go is installed.
hugo server -D -F
hugo: downloading modules …
hugo: collected modules in 9479 ms
Watching for changes in /Users/lee/code/docs/{assets,content,i18n,layouts,package.json,static}
Watching for config changes in /Users/lee/code/docs/hugo.toml, /Users/lee/code/docs/go.mod
Start building sites … 
hugo v0.126.1+extended darwin/amd64 BuildDate=2024-05-15T10:42:34Z VendorInfo=brew

ERROR render of "taxonomy" failed: "/Users/lee/code/docs/layouts/_default/baseof.html:9:7": execute of template failed: template: _default/terms.html:9:7: executing "_default/terms.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:61:16: no such template "_internal/google_analytics_async.html"
ERROR render of "home" failed: "/Users/lee/code/docs/layouts/_default/baseof.html:9:7": execute of template failed: template: home.html:9:7: executing "home.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:61:16: no such template "_internal/google_analytics_async.html"
ERROR render of "term" failed: "/Users/lee/code/docs/layouts/_default/baseof.html:9:7": execute of template failed: template: _default/taxonomy.html:9:7: executing "_default/taxonomy.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:61:16: no such template "_internal/google_analytics_async.html"

Environment

  • Host OS: Mac

Contributor Guides and Resources

I attempted to solve this issue by upgrade to Docsy v0.10.0. No luck.

The issue here seems to be the difference between Hugo 0.124.1 and Hugo 0.126.