dcff8a4f85
Allows this theme to be used for sites that do not have a blog.
8 lines
199 B
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 }}
|