From be844107eadc7fe2f3b4348a8a16b9f0f6b0a883 Mon Sep 17 00:00:00 2001 From: gws Date: Wed, 13 Nov 2024 09:19:34 +0100 Subject: [PATCH] init dynamic sv/en toggle --- content/contact.md | 4 ++-- templates/_macros.html | 7 +++++-- templates/contact.html | 3 +++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/content/contact.md b/content/contact.md index 91fc98e..faef1ef 100644 --- a/content/contact.md +++ b/content/contact.md @@ -1,8 +1,8 @@ +++ title = "Contact" -description = "How to get in contact" +description = "Hello World" weight = 10 -template = "contact.html" +template = "page.html" [extra] disable_toc = true +++ diff --git a/templates/_macros.html b/templates/_macros.html index 1287fc0..6eab1ab 100644 --- a/templates/_macros.html +++ b/templates/_macros.html @@ -1,6 +1,6 @@ {% macro render_header(path) %} {% set root = get_section(path="_index.md") %} - +