diff --git a/config.toml b/config.toml index 8671913a9..65939ddac 100644 --- a/config.toml +++ b/config.toml @@ -30,4 +30,6 @@ enableGitInfo = true tabWidth = 4 [markup.goldmark.renderer] unsafe= true - +[security] + [security.funcs] + getenv = ['^HUGO_', '^BRANCH'] diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 67032e19c..6d28c235c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -82,3 +82,8 @@ {{ template "_internal/google_analytics.html" . }} +