add barebones theme switcher

This commit is contained in:
2025-08-17 01:36:55 +03:00
parent fc80823713
commit 89817340c9
4 changed files with 20 additions and 2 deletions

View File

@ -8,7 +8,7 @@
{% else %}
<title>{{config.SITE_NAME}}</title>
{% endif %}
<link rel="stylesheet" href="{{ "/static/css/style.css" | cachebust }}">
<link rel="stylesheet" href="{{ ("/static/css/%s.css" % get_prefers_theme()) | cachebust }}">
<link rel="icon" type="image/png" href="/static/favicon.png">
</head>
<body>