From a45a3a6b920b594344d4af5675b738b728b9b636 Mon Sep 17 00:00:00 2001 From: Alexander Avery Date: Wed, 28 May 2025 15:47:28 -0400 Subject: [PATCH] configurable footer links with menu.html --- hugo.toml | 5 +++++ layouts/partials/footer.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/hugo.toml b/hugo.toml index 1fc3f90..7b1e4e0 100644 --- a/hugo.toml +++ b/hugo.toml @@ -18,6 +18,11 @@ name = 'Games' pageRef = '/games' weight = 30 +[[menus.footer]] +name = 'Authors' +pageRef = '/authors' +weight = 10 + [module] [module.hugoVersion] extended = false diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index eda2321..675e7e5 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,2 +1,2 @@ -

Authors

+{{ partial "menu.html" (dict "menuID" "footer" "page" .) }}

© 2020 – {{ now.Year }} Beet Box. All rights reserved.