hugo-bearblog/layouts/partials/nav.html
Jan Raasch 9863ab4f50 Fix link to »Blog« on demo page
The demo is hosted at https://janraasch.github.io/hugo-bearblog/, but currently the link is »/blog«, so we end up at https://janraasch.github.io/blog with a `404` 🥹.
2022-09-15 04:00:41 +02:00

8 lines
187 B
HTML

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