diff --git a/.gitignore b/.gitignore index 9c59e01..9ff8ba7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ public/ resources/_gen node_modules +.hugo_build.lock \ No newline at end of file diff --git a/config.toml b/config.toml index 83f3011..26accf7 100644 --- a/config.toml +++ b/config.toml @@ -8,3 +8,6 @@ disableKinds = ["taxonomy", "taxonomyTerm"] [imaging] quality = 95 +[security] + [security.funcs] + getenv = [ "^HUGO_", "CONTEXT" ] diff --git a/netlify.toml b/netlify.toml index 3f494c7..523b11e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,9 @@ [build] publish = "public" command = "hugo -b $URL" +[build.environment] + HUGO_VERSION = "0.95.0" + [context.production.environment] HUGO_ENV = "production"