1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Makefile: zopfli-compress the webmanifest as well

This commit is contained in:
Rohan Kumar 2020-12-18 18:32:55 -08:00
parent 03da61c393
commit 6223768f04
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -37,7 +37,7 @@ hugo:
build: hugo
# gzip_static + max zopfli compression
ifndef NO_GZIP_STATIC
find $(OUTPUT_DIR) -type f -name '*.html' -o -name '*.css' -o -name '*.xml' -o -name '*.txt' \
find $(OUTPUT_DIR) -type f -name '*.html' -o -name '*.css' -o -name '*.xml' -o -name '*.txt' -o -name '*.webmanifest' \
| grep -v gemini \
| xargs zopfli --i50 --gzip
endif