20 lines
566 B
HTML
20 lines
566 B
HTML
{{ if not .Params.Menu }}
|
|
<nav class="paginator">
|
|
<ul>
|
|
<li>
|
|
{{ if .NextInSection }}
|
|
<a alt="Newer article" href="{{ .NextInSection.Permalink }}">← Newer</a>
|
|
{{ else }}
|
|
|
|
{{ end }} </li>
|
|
<li><a alt="Top of page" href="#">Top</a></li>
|
|
<li>
|
|
{{ if .PrevInSection }}
|
|
<a alt="Older article" href="{{ .PrevInSection.Permalink }}">Older →</a>
|
|
{{ else }}
|
|
|
|
{{ end }}
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
{{ end }} |