You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was getting started with the website and following the instructions on running hugo locally and I received the following error:
[master]% hugo server -D
Watching forchangesin /Users/farceo/dev/website/{assets,content,layouts,package.json,static,themes}
Watching forconfig changesin /Users/farceo/dev/website/config.toml, /Users/farceo/dev/website/themes/docsy/config.yaml
Start building sites …
hugo v0.129.0+extended darwin/arm64 BuildDate=2024-07-17T13:29:16Z VendorInfo=brew
ERROR render of "section" failed: "/Users/farceo/dev/website/themes/docsy/layouts/docs/baseof.html:4:7": execute of template failed: template: docs/list.html:4:7: executing "docs/list.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:65:16: no such template "_internal/google_analytics_async.html"
ERROR render of "page" failed: "/Users/farceo/dev/website/themes/docsy/layouts/docs/baseof.html:4:7": execute of template failed: template: docs/single.html:4:7: executing "docs/single.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:65:16: no such template "_internal/google_analytics_async.html"
Built in 345 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/Users/farceo/dev/website/themes/docsy/layouts/docs/baseof.html:4:7": execute of template failed: template: docs/single.html:4:7: executing "docs/single.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:65:16: no such template "_internal/google_analytics_async.html"
Looking at the _internal/ path I see that the google_analytics_async.html file doesn't exist.
I added an empty file and then things worked just file but I wanted to confirm that this wasn't on purpose.
The fix would be to delete the references to the template or add the file with the real template. Happy to make a fix.
The text was updated successfully, but these errors were encountered:
An update for others if they see this issue was just that they had not run git submodule update --init --recursive, so were running an old version of the Docsy template.
I was getting started with the website and following the instructions on running hugo locally and I received the following error:
Looking at the _internal/ path I see that the
google_analytics_async.html
file doesn't exist.I added an empty file and then things worked just file but I wanted to confirm that this wasn't on purpose.
The fix would be to delete the references to the template or add the file with the real template. Happy to make a fix.
The text was updated successfully, but these errors were encountered: