main
1<div class="post-navigator">
2 <p>
3 {{ if .PrevInSection }}
4 <a href="{{ .PrevInSection.Permalink }}">
5 << Previous Post</a>
6 {{ else }}
7 <strike>
8 << Previous Post</strike>
9 {{ end }}
10 </p>
11 <p>|</p>
12 <p>
13 {{ if .NextInSection }}
14 <a href="{{ .NextInSection.Permalink }}">Next Post >></a>
15 {{ else }}
16 <strike>Next Post >></strike>
17 {{ end }}
18 </p>
19</div>