22 lines
638 B
HTML
22 lines
638 B
HTML
|
{{ if .IsPage }}
|
||
|
{{ if or ( .NextInSection ) ( .PrevInSection ) }}
|
||
|
<nav><ul class="pager">
|
||
|
{{ if .PrevInSection }}
|
||
|
<li class="previous">
|
||
|
<a href="{{ .PrevInSection.Permalink }}" title="{{ .PrevInSection.Title }}">
|
||
|
<span aria-hidden="true">←</span>{{ i18n "previous" }}
|
||
|
</a>
|
||
|
</li>
|
||
|
{{end}}
|
||
|
|
||
|
{{ if .NextInSection }}
|
||
|
<li class="next">
|
||
|
<a href="{{ .NextInSection.Permalink }}" title="{{ .NextInSection.Title }}">
|
||
|
{{ i18n "next" }} <span aria-hidden="true">→</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
{{end}}
|
||
|
</ul> </nav>
|
||
|
{{ end }}
|
||
|
{{ end }}
|