marinebon / www_marinebon2

MBON Website 2021 Rebuild in progress
https://marinebon2.netlify.app/
MIT License
1 stars 1 forks source link

trouble using wowchemy "gallery" widget #47

Closed 7yl4r closed 2 years ago

7yl4r commented 2 years ago

Frustratingly vague issue from trying to use the gallery widget on a new homepage section. From the netlify build log:

1:54:46 PM: $ hugo --gc --minify -b $URL
1:54:46 PM: Start building sites …
1:54:48 PM: ERROR 2022/04/13 17:54:48 Unable to load gallery in /opt/build/repo/content/home/supporting_orgs.md.
1:54:49 PM: Total in 2981 ms
1:54:49 PM: Error: Error building site: logged 1 error(s)

I tried building locally to debug more but I am seeing a different (and probably unrelated) issue:

Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:5:3: executing "_default/single.html" at <partial "site_head" .>: error calling partial: "/tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-modules/wowchemy@v0.0.0-20210501191334-2d9c18ecf0ef/layouts/partials/site_head.html:174:13": execute of template failed: template: partials/site_head.html:174:13: executing "partials/site_head.html" at <getenv "WC_POST_CSS">: error calling getenv: access denied: "WC_POST_CSS" is not whitelisted in policy "security.funcs.getenv"; the current security configuration is:
7yl4r commented 2 years ago

I was finally able to reproduce this locally but can't figure out any way to get more info about the error.