From b5267e3483d1dc818132bc97b51b43b5199175ae Mon Sep 17 00:00:00 2001 From: Daniel Roelfs Date: Sat, 7 Oct 2023 22:07:47 +0200 Subject: [PATCH] update build commands --- config.toml | 1 - netlify.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/config.toml b/config.toml index db7e871..c7f9724 100644 --- a/config.toml +++ b/config.toml @@ -4,7 +4,6 @@ theme = "hugo-coder-portfolio-edit" # Set the theme. languagecode = "en" # The site’s language code used to generate RSS. defaultcontentlanguage = "en" # The default content language. defaultContentLanguageInSubdir = true -publishDir = "public" paginate = 20 # Default number of pages per page in pagination. diff --git a/netlify.toml b/netlify.toml index 761bdba..29108bc 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] - command = "hugo" + command = "hugo --gc --minify" publish = "public" [context.production.environment]