From f9722dacf7947f35944715b40d9d286e3cdece39 Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Sun, 30 Jun 2024 11:37:18 +0100 Subject: [PATCH] add subtitle/description field --- hugo.toml | 3 +++ layouts/partials/header.html | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hugo.toml b/hugo.toml index fe1cb1a..a7043c4 100644 --- a/hugo.toml +++ b/hugo.toml @@ -2,6 +2,9 @@ baseURL = 'https://qenya.tel/' languageCode = 'en-GB' title = 'qenya' +[params] +description = '' + [[menus.main]] name = 'Home' pageRef = '/' diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7980a00..3f38496 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,2 +1,3 @@

{{ site.Title }}

-{{ partial "menu.html" (dict "menuID" "main" "page" .) }} +{{ with site.Params.description }}

{{ . }}

{{end}} +{{ partial "menu.html" (dict "menuID" "main" "page" .) }} \ No newline at end of file