From 7034b715f371015e269f091bf6387cf24526d79f Mon Sep 17 00:00:00 2001 From: Victor Mignot Date: Sat, 5 Oct 2024 19:23:20 +0200 Subject: [PATCH] Add forge link in frontpage --- hugo.toml | 1 + themes/dalaran/layouts/partials/profile.html | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/hugo.toml b/hugo.toml index 43ce074..b51011e 100644 --- a/hugo.toml +++ b/hugo.toml @@ -7,6 +7,7 @@ copyright = "CC BY-SA 4.0" [params] introduction = "Just experimenting computer stuff and sharing it." mail = "dala@dalaran.fr" + forge_url = "git.dalaran.fr" fediverse_id = "@dala@dalaran.fr" fediverse_url = "https://gts.dalaran.fr" pgp_key = "40DE2FEE4D3C5E2C" diff --git a/themes/dalaran/layouts/partials/profile.html b/themes/dalaran/layouts/partials/profile.html index 062340a..cabe987 100644 --- a/themes/dalaran/layouts/partials/profile.html +++ b/themes/dalaran/layouts/partials/profile.html @@ -14,6 +14,16 @@ {{ end }} + {{ if (isset . "forge_url") }} +
+ + Forge: + + + {{ .forge_url }} + +
+ {{ end }} {{ if (isset . "pgp_key") }}