Convert root favicon to ico
continuous-integration/drone/push Build is passing Details

pull/1/head
mat ess 2022-11-19 12:26:00 -05:00
parent 1f6f2370e4
commit cbf9b17ed8
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
zola build --drafts ${ifStaging "--base-url https://staging--mat-services.netlify.app"} zola build --drafts ${ifStaging "--base-url https://staging--mat-services.netlify.app"}
# zola's ignored_content setting doesn't work in static/ # zola's ignored_content setting doesn't work in static/
rm -rf public/image/_favicon.svg rm -rf public/image/_favicon.svg
cp public/image/favicon.svg public/favicon.svg convert public/image/favicon.svg -resize 64x64 public/favicon.ico
''; '';
in in
{ {
@ -41,7 +41,7 @@
pname = "personal-site"; pname = "personal-site";
version = "2022-10-23"; version = "2022-10-23";
src = gitignoreSource ./.; src = gitignoreSource ./.;
nativeBuildInputs = [ optimize-images update-date zola ]; nativeBuildInputs = [ imagemagick optimize-images update-date zola ];
configurePhase = copyFonts + '' configurePhase = copyFonts + ''
mkdir -p extra/syntax mkdir -p extra/syntax
cp ${caddyfile-syntax} extra/syntax cp ${caddyfile-syntax} extra/syntax