[WIP] Migrate to hugo-bearblog theme
This commit is contained in:
10
layouts/partials/nav.html
Normal file
10
layouts/partials/nav.html
Normal file
@ -0,0 +1,10 @@
|
||||
<!--This file is exactly the same as the one in the theme, except references
|
||||
to /blog are changed to /posts (since that's what I use).
|
||||
See lines 7 and 8.-->
|
||||
<a href="{{ "/" | relURL }}">Home</a>
|
||||
{{ range .Site.Menus.main }}
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
{{ with .Site.GetPage "/posts" }}
|
||||
<a href="{{ "/posts" | relURL }}">Blog</a>
|
||||
{{ end }}
|
Reference in New Issue
Block a user