This repository has been archived on 2021-08-12. You can view files and clone it, but cannot push or open issues/pull-requests.
hugo-bearblog-fork/layouts/partials/nav.html

8 lines
199 B
HTML

<a href="{{ "/" | relURL }}">Home</a>
{{ range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
{{ with .Site.GetPage "/blog" }}
<a href="{{ "/blog" | relURL }}">Blog</a>
{{ end }}