From cdc261b82e45f8bb2745a0626ba23addcc45b59a Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 15 Jan 2024 14:00:28 -0600 Subject: [PATCH] enable minify in config, don't minify xml --- build.sh | 2 +- config/_default/hugo.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 3d63676..78499bd 100755 --- a/build.sh +++ b/build.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Quick script to run local builds source .env -hugo --minify --environment local -D +hugo --environment local -D npx torchlight python3 -m http.server --directory public 1313 diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index c6155e5..7d181e6 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -60,3 +60,6 @@ enableInlineShortcodes = true tag = "tags" series = "series" +[minify] + disableXML = true + minifyOutput = true \ No newline at end of file