summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDennis Fink2026-06-20 20:00:31 +0200
committerDennis Fink2026-06-20 20:00:31 +0200
commit206400382a5c111842fd77c8418ad94a85f2da99 (patch)
tree4fd3acc2f7ed7e62b22eb5d8ba4c0376e5c0d409 /templates
parentcc6003d997e041127ac081e14a3213c4b898860d (diff)
downloaddennisfink.me-206400382a5c111842fd77c8418ad94a85f2da99.tar.gz
dennisfink.me-206400382a5c111842fd77c8418ad94a85f2da99.zip
Add SVG favicon support
This adds a scalable SVG favicon alongside the existing PNG favicon and exposes both through explicit icon links in the base template. The SVG is used for browsers that support it, while the 32×32 PNG remains as a fallback for clients that still expect a raster favicon.
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
index 0cec0b4..e2c145f 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -50,6 +50,14 @@
<link rel="shortcut icon"
type="image/png"
href="{{ '/static/images/favicon.png' | asseturl }}">
+ <link rel="icon"
+ type="image/svg+xml"
+ sizes="any"
+ href="{{ '/static/images/favicon.svg' | asseturl }}">
+ <link rel="icon"
+ type="image/png"
+ sizes="32x32"
+ href="{{ '/static/images/favicon.png' | asseturl }}">
{% endblock meta_links %}
<title>
{% block meta_title %}