taiwangoldcard / website

Taiwan Gold Card Community website
https://taiwangoldcard.com
Other
43 stars 18 forks source link

Fix build process #265

Open kalenjohnson opened 4 months ago

kalenjohnson commented 4 months ago

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