monkeyWzr / hugo-theme-cactus

Cactus theme for hugo
MIT License
537 stars 338 forks source link

Error on build site with Hugo 0.134.2 #144

Open walves69 opened 2 weeks ago

walves69 commented 2 weeks ago

Hi. Is there someone with the same problem when build site?

Start building sites … 
hugo v0.134.2-1c74abd26070b0c12849550c974a9f3f1e7afb06+extended windows/amd64 BuildDate=2024-09-10T10:46:33Z VendorInfo=gohugoio

ERROR render of "home" failed: "C:\miscelanea\blogdown\wblog\themes\hugo-theme-cactus\layouts\_default\baseof.html:3:3": execute of template failed: template: index.html:3:3: executing "index.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:47:16: no such template "_internal/google_analytics_async.html"
ERROR render of "term" failed: "C:\miscelanea\blogdown\wblog\themes\hugo-theme-cactus\layouts\_default\baseof.html:3:3": execute of template failed: template: _default/list.html:3:3: executing "_default/list.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:47:16: no such template "_internal/google_analytics_async.html"
ERROR render of "section" failed: "C:\miscelanea\blogdown\wblog\themes\hugo-theme-cactus\layouts\_default\baseof.html:3:3": execute of template failed: template: _default/list.html:3:3: executing "_default/list.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:47:16: no such template "_internal/google_analytics_async.html"
ERROR render of "taxonomy" failed: "C:\miscelanea\blogdown\wblog\themes\hugo-theme-cactus\layouts\_default\baseof.html:3:3": execute of template failed: template: _default/terms.html:3:3: executing "_default/terms.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:47:16: no such template "_internal/google_analytics_async.html"
Total in 208 ms
Error: error building site: render: failed to render pages: render of "page" failed: "C:\miscelanea\blogdown\wblog\themes\hugo-theme-cactus\layouts\_default\baseof.html:3:3": execute of template failed: template: _default/single.html:3:3: executing "_default/single.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:47:16: no such template "_internal/google_analytics_async.html"

Thanks.

rickyhewitt commented 5 days ago

Hi,

This seems to be the same issue as #141.

I have patched it on my fork (https://github.com/rickyhewitt/hugo-theme-cactus/tree/rickyhewitt-patch-1), and submitted a pull request.