From 6c092ad49d5f8965bd2fd55c00dadc24cb94e48c Mon Sep 17 00:00:00 2001 From: daudix Date: Fri, 21 Jun 2024 21:13:53 +0300 Subject: [PATCH] Improve favicon loading logic, add language meta tag --- config.toml | 8 ++++---- templates/partials/head.html | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config.toml b/config.toml index d100d5b..e8855d6 100644 --- a/config.toml +++ b/config.toml @@ -3,7 +3,7 @@ base_url = "https://daudix.codeberg.page/duckquill" description = "Modern, pretty, and clean theme." compile_sass = true -minify_html = false +minify_html = true generate_feed = true feed_filename = "atom.xml" build_search_index = false @@ -51,9 +51,9 @@ smart_punctuation = true primary_color = "#ff7800" # Same as primary_color, but with 20% opacity primary_color_alpha = "rgba(255, 120, 0, 0.2)" -# Whether to use emoji as a favicon. -# Replace with an emoji wrapped in quotes. -emoji_favicon = false +# Use emoji as a favicon. +# Only one emoji is being rendered, everyting else is truncated. +# emoji_favicon = "🦆🪶" # URL to website's issue tracker issues_url = "https://codeberg.org/daudix/duckquill/issues" # URL to website's source code diff --git a/templates/partials/head.html b/templates/partials/head.html index 8970300..1521283 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -64,14 +64,13 @@ {%- endif %} - {%- if config.extra.emoji_favicon %} - - {%- else %} - - {%- endif %} - + + {%- if config.extra.emoji_favicon %} + + {%- endif %} + {%- if config.generate_feed %} {%- endif %} @@ -82,4 +81,5 @@ +