categories: use the site stylesheet instead of an hardcoded one

This commit is contained in:
Zankaria 2026-04-01 01:48:12 +02:00
parent 9b0fdf3fe4
commit 43c3ea3da6
2 changed files with 3 additions and 4 deletions

View file

@ -4,8 +4,9 @@
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}?v={{ config.resource_version }}">
{% if config.default_stylesheet.1 != '' %}<link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}?v={{ config.resource_version }}">{% endif %}
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
<link rel="stylesheet" media="screen" href="/stylesheets/dark_red.css">
<style type="text/css">
.sidebar {
grid-column: 1;
@ -142,4 +143,3 @@
{% include 'themes/categories/' ~ settings.file_news %}
</body>
</html>

View file

@ -23,7 +23,7 @@
<img src="{{ config.logo }}" alt="logo" class="home-logo">
<div class="subtitle">{{ settings.subtitle }}</div>
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}?v={{ config.resource_version }}">
<link rel="stylesheet" media="screen" href="/stylesheets/dark_red.css?v={{ config.resource_version }}">
{% if config.default_stylesheet.1 != '' %}<link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}?v={{ config.resource_version }}">{% endif %}
<p class="home-description" >{{ description }}</p>
</header>
</div>
@ -111,4 +111,3 @@
</footer>
</div>
{% endfilter %}