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 @@
12 {% if site_description is defined %}<meta name="description" content="{{ site_description }}" >{% endif %} 12 {% if site_description is defined %}<meta name="description" content="{{ site_description }}" >{% endif %}
13 {% if site_keywords is defined %}<meta name="keywords" content="{{ site_keywords }}" >{% endif %} 13 {% if site_keywords is defined %}<meta name="keywords" content="{{ site_keywords }}" >{% endif %}
14 <link rel="stylesheet" href="{{ url_for("static", file="styles.min.css") }}" type="text/css"> 14 <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)">
16 {% block meta %}{% endblock %} 17 {% block meta %}{% endblock %}
17 {% endblock %} 18 {% endblock %}
18</head> 19</head>