Source code of my website
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

♻️ : split build and precompress tasks

+4 -2
+4 -2
mise.toml
··· 26 26 27 27 [tasks.build] 28 28 description = "Build le site avec Hugo" 29 - run = ''' 30 - hugo build $HUGO_OPTIONS 29 + run = "hugo build $HUGO_OPTIONS" 31 30 31 + [tasks.precompress] 32 + description = "Precompress static resources" 33 + run = ''' 32 34 COMPRESSREGEX=".*(html|css|js|xml|ico|svg|md|png|webp|pdf)$" 33 35 find public/ -type f -regextype egrep -regex $COMPRESSREGEX | xargs zstd -15 34 36 find public/ -type f -regextype egrep -regex $COMPRESSREGEX | xargs zstd --format=gzip -15