about summary refs log tree commit diff
path: root/layouts/partials/post-navigation.html
blob: b88d91f50c3e00954bbae48c7a0dfe55297982d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
<nav>
	{{ if .NextInSection }}
	<a class="nav-next" href="{{ .NextInSection.RelPermalink }}">{{ .NextInSection.Title }}</a>
	{{ end }}
	<a class="nav-up" href="{{ .Parent.RelPermalink }}">{{ .Parent.Title }}</a>
	{{ if .PrevInSection }}
	<a  class="nav-prev"href="{{ .PrevInSection.RelPermalink }}">{{ .PrevInSection.Title }}</a>
	{{ end }}
</nav>