From 42ea2a9df0981819501eca4bf619cbc9a7c6a07d Mon Sep 17 00:00:00 2001 From: Dominik Date: Fri, 14 Nov 2025 11:43:50 +0100 Subject: [PATCH] hugo-ideomatic way of randering multiple objects from toml file --- blog/hugo.toml | 19 +++++++++++++++++++ blog/layouts/_partials/bottombar.html | 9 ++++----- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/blog/hugo.toml b/blog/hugo.toml index 4ae8607..8b299ea 100644 --- a/blog/hugo.toml +++ b/blog/hugo.toml @@ -24,6 +24,25 @@ title = 'agres.online' name = "pgp" url = "/publickey.asc" + [[params.info]] + name = "Impressum" + url = "/impressim" + + [[params.info]] + name = "Datenschutz" + url = "/datenschutz" + + [[params.info]] + name = "Email" + url = "mailto:dominik@agres.online" + + [[params.info]] + name = "PGP-Key" + url = "/publickey.asc" + + [[params.info]] + name = "RSS" + url = "/blog/index.xml" [markup.goldmark.renderer] unsafe = true diff --git a/blog/layouts/_partials/bottombar.html b/blog/layouts/_partials/bottombar.html index d13114e..58f1038 100644 --- a/blog/layouts/_partials/bottombar.html +++ b/blog/layouts/_partials/bottombar.html @@ -1,11 +1,10 @@