Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build process #265

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kalenjohnson
Copy link

@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