From 526451a4e039be138c5eb1554cc00cb5aa1536fc Mon Sep 17 00:00:00 2001 From: wgroeneveld Date: Sat, 5 Feb 2022 10:11:39 +0100 Subject: [PATCH] fix hugo 0.92 js gen --- config.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.toml b/config.toml index afd991f..10f7e3e 100644 --- a/config.toml +++ b/config.toml @@ -21,6 +21,12 @@ theme = "desem-swift-theme" [outputs] home = [ "HTML", "RSS" ] +# added since Hugo 0.9x to allow babel to be executed +[security] + enableInlineShortcodes = false + [security.exec] + allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', 'babel'] + [markup] defaultMarkdownHandler = "goldmark"