Update favicon, add script to generate it in the future
All checks were successful
Deploy / Deploy Website (push) Successful in 31s

This commit is contained in:
Joshua Goins 2025-04-10 17:31:24 -04:00
parent 59220e6bd0
commit 464b5d4406
5 changed files with 8 additions and 3 deletions

5
scripts/generate_favicon.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
convert -resize 32X32 assets/rss-image.jpg static/favicon-32x32.png &&
convert -resize 16X16 assets/rss-image.jpg static/favicon-16x16.png &&
icotool -c -o static/favicon.ico static/favicon-16x16.png static/favicon-32x32.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View file

@ -24,9 +24,9 @@
{{ end }} {{ end }}
<link href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" rel="stylesheet"> <link href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" rel="stylesheet">
<link rel="shortcut icon" href="/favicon.ico?v=3" type="image/x-icon"> <link rel="shortcut icon" href="/favicon.ico?v=4" type="image/x-icon">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=2"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=3">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=2"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=3">
<meta name="robots" content="noai"> <meta name="robots" content="noai">
<meta name="fediverse:creator" content="{{ $.Site.Params.fediverse_url }}" /> <meta name="fediverse:creator" content="{{ $.Site.Params.fediverse_url }}" />