added prev/next nav

This commit is contained in:
Don Harper 2019-07-08 22:21:09 -05:00
parent 13da00e549
commit 7241e74283

View file

@ -46,6 +46,9 @@
{{end}}
</ul>
{{end}}
{{if .NextInSection}}<p>Next: <a href="{{.NextInSection.Permalink}}">{{.NextInSection.Title}}</a></p>{{end}}
{{if .PrevInSection}}<p>Previous: <a href="{{.PrevInSection.Permalink}}">{{.PrevInSection.Title}}</a></p>{{end}}
</div>
{{ end }}