website/layouts/partials/nav.html

12 lines
282 B
HTML
Raw Normal View History

{{- $currentPage := . }}
<header>
{{- range .Site.Menus.name }}
<h1> <a href="{{ .URL }}">{{ .Name }}</a> </h1>
{{- end }}
<nav>
{{- range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{- end }}
</nav>
</header>