From 128624ca4af63d6799586104e11e8103227ab671 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 26 Feb 2020 22:50:38 +0100 Subject: [PATCH] Enable minification when building the website for deployment --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index d5f66ca..a44a26c 100755 --- a/build.sh +++ b/build.sh @@ -23,7 +23,7 @@ EOF # Trim the first line of the output to get a valid Markdown table. python3 "$TMP/doc/tools/doc_status.py" -u "$TMP/doc/classes" | tail -n +2 >> content/_index.md -# Build the website. -hugo +# Build the website with optimizations enabled. +hugo --minify rm -rf "$TMP"