Browse Source

Core Web Vitals: improve page loading time and accessibility

pull/10/head
Nicolas Massé 5 years ago
parent
commit
2b1a786124
  1. 2
      hugo
  2. 4
      netlify.toml
  3. 2
      themes/itix

2
hugo

@ -38,5 +38,5 @@ done
# Remove dangling links # Remove dangling links
find content/french -xtype l -exec rm -f {} \; 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 "$@" hugo "$@"

4
netlify.toml

@ -1,6 +1,8 @@
[build] [build]
publish = "public" 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 [build.environment] # Global
HUGO_VERSION = "0.79.1" HUGO_VERSION = "0.79.1"

2
themes/itix

@ -1 +1 @@
Subproject commit 51fed607569ae66d6874a050c67a0f003dc51589 Subproject commit b44dbf83c122f737f2a21359c469af6e792388ee
Loading…
Cancel
Save