From f26d1e6113675a1c031aa47a683417d4432a6413 Mon Sep 17 00:00:00 2001 From: Simon C Date: Mon, 9 Mar 2020 11:46:04 +0100 Subject: [PATCH] fix: Optimisation des fichiers SVG --- package.json | 1 + static/logo.svg | 60 +------------------------------------------------ 2 files changed, 2 insertions(+), 59 deletions(-) diff --git a/package.json b/package.json index bacfdb3..dad0aab 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "serve": "(cd public && python3 -m http.server 8080)", "build": "rm -rf public && hugo -D --minify && node themes/hugo-theme-lowtech/scripts/typo", "favicon": "convert static/icon.png -resize 32x32 -colors 16 \\( -clone 0 -resize 16x16 -extent 16x16 \\) \\( -clone 0 -resize 32x32 -extent 32x32 \\) -delete 0 static/favicon.ico", + "svgo": "svgo */**.svg", "deploy": "docker-compose up -d --build", "ftp-deploy": "lftp -u $HISTOIREDUNPIED_FTP_USER,$HISTOIREDUNPIED_FTP_PASSWORD $HISTOIREDUNPIED_FTP_HOST -e 'mirror -e -R ./public /www ; quit'", "ftp-htaccess": "lftp -u $HISTOIREDUNPIED_FTP_USER,$HISTOIREDUNPIED_FTP_PASSWORD $HISTOIREDUNPIED_FTP_HOST -e 'put ./.htaccess ; quit'", diff --git a/static/logo.svg b/static/logo.svg index 7c4653e..e641cc8 100644 --- a/static/logo.svg +++ b/static/logo.svg @@ -1,59 +1 @@ - - - - -logo_histoiredunpied_site - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file