From 6d4989f90f7a902bb51aacece10264288918ffaa Mon Sep 17 00:00:00 2001 From: George Cushen Date: Fri, 31 Dec 2021 13:33:58 +0000 Subject: [PATCH] feat: add support for Hugo v0.91 breaking changes Hugo team prevented users from building Hugo sites unless all env vars are added to an allow list. Refer to Hugo v0.91 breaking changes: https://github.com/gohugoio/hugo/releases/tag/v0.91.0 --- wowchemy/config.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wowchemy/config.yaml b/wowchemy/config.yaml index 81b070ff..5f7ee66f 100644 --- a/wowchemy/config.yaml +++ b/wowchemy/config.yaml @@ -1,5 +1,4 @@ markup: - _merge: deep defaultMarkdownHandler: goldmark goldmark: renderer: @@ -53,3 +52,8 @@ params: date_format: 'Jan 2, 2006' time_format: '3:04 PM' address_format: en-us +security: + funcs: + getenv: + - ^HUGO_ + - ^WC_