about summary refs log tree commit diff
path: root/layouts/partials/post-navigation.html
blob: edd1333ef3c2d6c2fc6edb9eeaaff1fb00befc14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{{ if not .IsSection}}
<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>
{{ end }}