From 697e2e68b8c15f7335932c82ded91c0f127e4a20 Mon Sep 17 00:00:00 2001 From: Arnis Jaundzeikars Date: Sat, 3 Dec 2022 21:03:56 +0200 Subject: [PATCH] Configure title & description * Adjustments found while investigating getzola/zola#2024 * Zola uses both values when generating atom.xml, despite being marked optional. * Have base.html also use the same metadata. --- config.toml | 4 ++++ templates/base.html | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index c7be224..dfee6d0 100644 --- a/config.toml +++ b/config.toml @@ -10,6 +10,10 @@ build_search_index = true # Generate an RSS feed generate_feed = true +# The site title and description; used in feeds by default. +title = "Helix" +description = "A post-modern modal text editor." + [markdown] # Whether to do syntax highlighting # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola diff --git a/templates/base.html b/templates/base.html index 39804bc..016d2f0 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,8 +4,8 @@ - Helix - + {{ config.title }} +