Fetch menus from YAML
This commit is contained in:
parent
7a4c8fd24b
commit
045c2e3495
6 changed files with 23 additions and 19 deletions
|
@ -1,4 +1,4 @@
|
|||
{{ range .Site.Menus.main }}
|
||||
{{ range .Site.Menus.main.ByWeight }}
|
||||
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
<a href="mailto:{{ .Site.Params.email }}?subject={{ i18n "email-subject" }}'{{ .Page.Title | default .Site.Title }}'">Email</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue