5fb7b33256
Guess what, on https://gohugo.io/functions/relurl/ it says > As a best practice, never include a leading slash when using this function. Fixes https://github.com/janraasch/hugo-bearblog/issues/65
8 lines
197 B
HTML
8 lines
197 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 }}
|