Browse Source

configurable footer links with menu.html

Alexander Avery 3 weeks ago
parent
commit
a45a3a6b92
  1. 5
      hugo.toml
  2. 2
      layouts/partials/footer.html

5
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

2
layouts/partials/footer.html

@ -1,2 +1,2 @@
<p><a href="/authors">Authors</a></p>
{{ partial "menu.html" (dict "menuID" "footer" "page" .) }}
<p>&copy; 2020 &ndash; {{ now.Year }} Beet Box. All rights reserved.</p>

Loading…
Cancel
Save