Skip to content

Fix build process#265

Open
kalenjohnson wants to merge 1 commit intotaiwangoldcard:masterfrom
kalenjohnson:fix-build
Open

Fix build process#265
kalenjohnson wants to merge 1 commit intotaiwangoldcard:masterfrom
kalenjohnson:fix-build

Conversation

@kalenjohnson
Copy link
Contributor

@kalenjohnson kalenjohnson commented Apr 25, 2024

When following docs and running hugo server, there's errors in the build process:

ERROR render of "section" failed: "/home/kalen/Work/taiwan-gold-card-website/themes/compose/layouts/_default/baseof.html:13:6": execute of template failed: template: _default/list.html:13:6: executing "_default/list.html" at <partial "head" .>: error calling partial: "/home/kalen/Work/taiwan-gold-card-website/themes/compose/layouts/partials/head.html:30:4": execute of template failed: template: partials/head.html:30:4: executing "partials/head.html" at <partial "opengraph" .>: error calling partial: execute of template failed: html/template:partials/opengraph.html:5:13: no such template "_internal/google_analytics_async.html"
ERROR render of "page" failed: "/home/kalen/Work/taiwan-gold-card-website/themes/compose/layouts/_default/baseof.html:13:6": execute of template failed: template: _default/single.html:13:6: executing "_default/single.html" at <partial "head" .>: error calling partial: "/home/kalen/Work/taiwan-gold-card-website/themes/compose/layouts/partials/head.html:30:4": execute of template failed: template: partials/head.html:30:4: executing "partials/head.html" at <partial "opengraph" .>: error calling partial: execute of template failed: html/template:partials/opengraph.html:5:13: no such template "_internal/google_analytics_async.html"
ERROR render of "404" failed: "/home/kalen/Work/taiwan-gold-card-website/themes/compose/layouts/_default/baseof.html:13:6": execute of template failed: template: 404.html:13:6: executing "404.html" at <partial "head" .>: error calling partial: "/home/kalen/Work/taiwan-gold-card-website/themes/compose/layouts/partials/head.html:30:4": execute of template failed: template: partials/head.html:30:4: executing "partials/head.html" at <partial "opengraph" .>: error calling partial: execute of template failed: html/template:partials/opengraph.html:5:13: no such template "_internal/google_analytics_async.html"

Removed the call to "_internal/google_analytics_async.html", which seems fine as I see there is Google Analytics code in head.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 this pull request may close these issues.

2 participants