You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
540 B
18 lines
540 B
<nav id="post-nav">
|
|
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
|
|
{{ if .Paginator.HasPrev }}
|
|
<span class="prev">
|
|
<a href="{{.Paginator.Prev.URL}}">
|
|
<span class="arrow">←</span> Newer Posts
|
|
</a>
|
|
</span>
|
|
{{ end }}
|
|
{{ if .Paginator.HasNext }}
|
|
<span class="next">
|
|
<a href="{{.Paginator.Next.URL}}">
|
|
Older Posts <span class="arrow">→</span>
|
|
</a>
|
|
</span>
|
|
{{ end }}
|
|
{{ end }}
|
|
</nav>
|