dracublog/layouts/partials/header.html

14 lines
270 B
HTML
Raw Permalink Normal View History

2021-02-05 11:36:58 -05:00
<a href="{{ "/" | relURL }}" style="text-decoration: none;">
<h2>{{ .Site.Title }}</h2>
</a>
<nav>
{{ with .Site.GetPage "/blog" }}
<a href="{{ "/blog" | relURL }}">Blog</a>
{{ end }}
{{ range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
</nav>