nusserstudios / tailbliss

TailBliss is a Hugo Starter theme built on TailwindCSS 3, and Alpine.JS.
https://tailbliss.netlify.app/
Apache License 2.0
289 stars 134 forks source link

On Cloudflare Pages only production branch works, but any other fails #108

Closed aleksasiriski closed 1 year ago

aleksasiriski commented 1 year ago

Would you know what is happening here? On Cloudflare Pages only production branch works, but any other fails with this error.

error calling partial: "/opt/buildhome/repo/themes/tailbliss/layouts/partials/head.html:24:47"

<pre class="c_jh c_bu c_ik c_il c_nt c_nu c_de c_jv c_oz c_pa c_pb c_fo c_fp c_nv c_bw c_pc">

22:39:38.139 | Building sites … ERROR 2023/04/20 20:39:38 render of "page" failed: execute of template failed: template: _default/single.html:5:7: executing "_default/single.html" at <partial "head.html" ...>: error calling partial: "/opt/buildhome/repo/themes/tailbliss/layouts/partials/head.html:24:47": execute of template failed: template: partials/head.html:24:47: executing "partials/head.html" at <resources>: can't evaluate field PostProcess in type interface {}
-- | --
22:39:38.139 | ERROR 2023/04/20 20:39:38 render of "taxonomyTerm" failed: execute of template failed: template: _default/list.html:5:7: executing "_default/list.html" at <partial "head.html" ...>: error calling partial: "/opt/buildhome/repo/themes/tailbliss/layouts/partials/head.html:24:47": execute of template failed: template: partials/head.html:24:47: executing "partials/head.html" at <resources>: can't evaluate field PostProcess in type interface {}
22:39:38.139 | ERROR 2023/04/20 20:39:38 render of "home" failed: execute of template failed: template: index.html:5:7: executing "index.html" at <partial "head.html" ...>: error calling partial: "/opt/buildhome/repo/themes/tailbliss/layouts/partials/head.html:24:47": execute of template failed: template: partials/head.html:24:47: executing "partials/head.html" at <resources>: can't evaluate field PostProcess in type interface {}
22:39:38.164 | Total in 35 ms
22:39:38.164 | Error: Error building site: failed to render pages: render of "taxonomyTerm" failed: execute of template failed: template: _default/list.html:5:7: executing "_default/list.html" at <partial "head.html" ...>: error calling partial: "/opt/buildhome/repo/themes/tailbliss/layouts/partials/head.html:24:47": execute of template failed: template: partials/head.html:24:47: executing "partials/head.html" at <resources>: can't evaluate field PostProcess in type interface {}
22:39:38.172 | Failed: build command exited with code: 255
22:39:38.927 | Failed: error occurred while running build command

</pre>
aleksasiriski commented 1 year ago

I accidentally forgot to add newer HUGO_VERSION env var to the non-production builder.