This repository has been archived on 2021-05-20. You can view files and clone it, but cannot push or open issues or pull requests.
blog/layouts/partials/nav.html

11 lines
366 B
HTML
Raw Normal View History

2021-04-18 20:48:02 -05:00
<!--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 }}