Bump minimal Zola version, make primary color non-essential

This commit is contained in:
daudix
2024-06-30 03:10:19 +03:00
parent d05dc3e423
commit 7ebac23811
2 changed files with 3 additions and 7 deletions

View File

@ -4,7 +4,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="{{ config.description }}" /> <meta name="description" content="{{ config.description }}" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="{{ config.extra.primary_color }}" /> <meta name="theme-color" content="{{ config.extra.primary_color | default(value='#9a9996') }}" />
<link rel="canonical" href="{{ current_url | default(value='/') | safe }}" /> <link rel="canonical" href="{{ current_url | default(value='/') | safe }}" />
<title>{% include "partials/title.html" %}</title> <title>{% include "partials/title.html" %}</title>
@ -33,7 +33,7 @@
<link rel="stylesheet" href="{{ get_url(path=stylesheet) | safe }}" /> <link rel="stylesheet" href="{{ get_url(path=stylesheet) | safe }}" />
{%- endfor %} {%- endfor %}
<style type="text/css">:root {--primary-color: {{ config.extra.primary_color }}; --primary-color-alpha: {{ config.extra.primary_color_alpha }};}</style> <style type="text/css">:root {--primary-color: {{ config.extra.primary_color | default(value="#9a9996") }}; --primary-color-alpha: {{ config.extra.primary_color_alpha | default(value="rgba(154, 153, 150, 0.2)") }};}</style>
{%- if config.extra.goatcounter %} {%- if config.extra.goatcounter %}
<script data-goatcounter="https://{{ config.extra.goatcounter.user }}.{{ config.extra.goatcounter.host | default(value='goatcounter.com') }}/count" async src="//gc.zgo.at/count.js"></script> <script data-goatcounter="https://{{ config.extra.goatcounter.user }}.{{ config.extra.goatcounter.host | default(value='goatcounter.com') }}/count" async src="//gc.zgo.at/count.js"></script>

View File

@ -2,13 +2,9 @@ name = "Duckquill"
description = "Modern, pretty, and clean theme" description = "Modern, pretty, and clean theme"
license = "MIT" license = "MIT"
homepage = "https://codeberg.org/daudix/duckquill" homepage = "https://codeberg.org/daudix/duckquill"
min_version = "0.17.2" min_version = "0.19.0"
demo = "https://duckquill.daudix.one" demo = "https://duckquill.daudix.one"
[extra]
primary_color = "#9a9996"
primary_color_alpha = "rgba(154, 153, 150, 0.2)"
[author] [author]
name = "David Lapshin" name = "David Lapshin"
homepage = "https://daudix.one" homepage = "https://daudix.one"