From 9c0af7b1cce621508d0dd382e239dbca44977408 Mon Sep 17 00:00:00 2001 From: naoufal zerai Date: Wed, 17 Aug 2022 16:50:49 -0400 Subject: [PATCH] update netlify toml --- netlify.toml | 9 ++++++++- themes/lugo | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) create mode 160000 themes/lugo diff --git a/netlify.toml b/netlify.toml index 36c1bb5..c56850f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,10 @@ [build] - command = "hugo" + command = "hugo --gc --minify -b $URL" publish = "public" + +[build.environment] + HUGO_VERSION = "0.97.3" + HUGO_ENABLEGITINFO = "true" + +[context.production.environment] + HUGO_ENV = "production" \ No newline at end of file diff --git a/themes/lugo b/themes/lugo new file mode 160000 index 0000000..75810cd --- /dev/null +++ b/themes/lugo @@ -0,0 +1 @@ +Subproject commit 75810cd2908c96ffed43e6c4646daf2413c4b3b1