aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/base.html
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2025-05-28 11:36:05 -0500
committerChristian Cleberg <hello@cleberg.net>2025-05-28 11:36:05 -0500
commitb3d74df73a9663c3f5c5ba8eed23ab66764c12b6 (patch)
tree3bac783191db44a5203039364db5d948c8a015a6 /theme/templates/base.html
parent6f482043d1baef2fcd284ae63f1837f33b12ab5c (diff)
downloadcleberg.net-b3d74df73a9663c3f5c5ba8eed23ab66764c12b6.tar.gz
cleberg.net-b3d74df73a9663c3f5c5ba8eed23ab66764c12b6.tar.bz2
cleberg.net-b3d74df73a9663c3f5c5ba8eed23ab66764c12b6.zip
feat: add light and dark favicons
Diffstat (limited to 'theme/templates/base.html')
-rw-r--r--theme/templates/base.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html
index daa43d0..c993f97 100644
--- a/theme/templates/base.html
+++ b/theme/templates/base.html
@@ -12,7 +12,8 @@
{% if site_description is defined %}<meta name="description" content="{{ site_description }}" >{% endif %}
{% if site_keywords is defined %}<meta name="keywords" content="{{ site_keywords }}" >{% endif %}
<link rel="stylesheet" href="{{ url_for("static", file="styles.min.css") }}" type="text/css">
- <link rel="icon" type="image/x-icon" href="{{ url_for("static", file="favicon.ico") }}">
+ <link rel="icon" type="image/x-icon" href="{{ url_for("static", file="favicon.ico") }}" media="(prefers-color-scheme: light)">
+ <link rel="icon" type="image/x-icon" href="{{ url_for("static", file="favicon_dark.ico") }}" media="(prefers-color-scheme: dark)">
{% block meta %}{% endblock %}
{% endblock %}
</head>