diff --git a/hugo b/hugo index 03732e5..9921d3a 100755 --- a/hugo +++ b/hugo @@ -38,5 +38,5 @@ done # Remove dangling links find content/french -xtype l -exec rm -f {} \; -hugo gen chromastyles --style=borland > static/css/chroma.css +hugo gen chromastyles --style=borland > themes/itix/assets/css/chroma.css hugo "$@" diff --git a/netlify.toml b/netlify.toml index 8d26151..e403b7c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,8 @@ [build] publish = "public" -command = "./hugo --baseURL https://www.itix.fr" +# Use --minify to reduce HTML file size since Google is now tracking this +# as "Core Web Vitals". +command = "./hugo --baseURL https://www.itix.fr --minify" [build.environment] # Global HUGO_VERSION = "0.79.1" diff --git a/themes/itix b/themes/itix index 51fed60..b44dbf8 160000 --- a/themes/itix +++ b/themes/itix @@ -1 +1 @@ -Subproject commit 51fed607569ae66d6874a050c67a0f003dc51589 +Subproject commit b44dbf83c122f737f2a21359c469af6e792388ee