hugo-bearblog/layouts/partials/nav.html

8 lines
199 B
HTML
Raw Permalink Normal View History

2020-08-31 13:40:11 +00:00
<a href="{{ "/" | relURL }}">Home</a>
{{ range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
{{ with .Site.GetPage "/blog" }}
2020-08-31 13:40:11 +00:00
<a href="{{ "/blog" | relURL }}">Blog</a>
{{ end }}