Commit 98f630963e

98f630963ec767030c91b5e7af810107177e18d3

parent: f24ed3d01b

Unsigned

cmc <hello@cleberg.net> · 2025-05-28 16:36 UTC

feat: add light and dark favicons

Layout: unified · split

theme/static/favicon.ico

Binary file not shown.

theme/static/favicon_dark.ico added

Binary file not shown.

theme/templates/base.html +2 −1
@@ -12,7 +12,8 @@
1212 {% if site_description is defined %}<meta name="description" content="{{ site_description }}" >{% endif %}
1313 {% if site_keywords is defined %}<meta name="keywords" content="{{ site_keywords }}" >{% endif %}
1414 <link rel="stylesheet" href="{{ url_for("static", file="styles.min.css") }}" type="text/css">
15 <link rel="icon" type="image/x-icon" href="{{ url_for("static", file="favicon.ico") }}">
15 <link rel="icon" type="image/x-icon" href="{{ url_for("static", file="favicon.ico") }}" media="(prefers-color-scheme: light)">
16 <link rel="icon" type="image/x-icon" href="{{ url_for("static", file="favicon_dark.ico") }}" media="(prefers-color-scheme: dark)">
1617 {% block meta %}{% endblock %}
1718 {% endblock %}
1819</head>