added footer menu
This commit is contained in:
parent
4040fc3aa8
commit
c04f6c8301
2 changed files with 11 additions and 14 deletions
14
config.yaml
14
config.yaml
|
@ -3,22 +3,28 @@ languageCode: en-us
|
|||
title: vrifox.cc
|
||||
enableRobotsTXT: true
|
||||
params:
|
||||
version: 2020-09
|
||||
version: 2020-09-20
|
||||
menu:
|
||||
main:
|
||||
- identifier: blog
|
||||
name: Blog
|
||||
title: blog
|
||||
url: /blog
|
||||
weight: 2
|
||||
weight: 1
|
||||
- identifier: projects
|
||||
name: Projects
|
||||
title: projects
|
||||
url: /projects
|
||||
weight: 3
|
||||
weight: 2
|
||||
links:
|
||||
- identifier: mastodon
|
||||
name: Mastodon
|
||||
title: mastodon
|
||||
url: https://social.anoxinon.de/@vrifox
|
||||
weight: 4
|
||||
weight: 1
|
||||
footer:
|
||||
- identifier: feed
|
||||
name: RSS-Feed
|
||||
title: RSS-Feed
|
||||
url: https://vrifox.cc/vrifox.cc_hugo/blog/index.xml
|
||||
weight: 1
|
||||
|
|
|
@ -6,16 +6,7 @@
|
|||
<section class="website-subnav">
|
||||
<ul>
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
<li>
|
||||
<a href="{{ .URL }}">
|
||||
{{ .Pre }}
|
||||
<span>{{ .Name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
<li>|</li>
|
||||
{{ range .Site.Menus.links }}
|
||||
{{ range .Site.Menus.footer }}
|
||||
<li>
|
||||
<a href="{{ .URL }}">
|
||||
{{ .Pre }}
|
||||
|
|
Loading…
Reference in a new issue