hugo-stanley/layouts/partials/article-bottom-navigation.html

11 lines
473 B
HTML
Raw Permalink Normal View History

2020-03-03 18:56:59 +01:00
{{- if and (not (eq .Params.single true)) (or .PrevInSection .NextInSection) -}}
<hr>
<section class="article navigation">
{{- with .NextInSection -}}
<p><a class="link" href="{{- .RelPermalink -}}"><span class="li">&larr;</span>{{- .Title | safeHTML -}}</a></p>
{{- end -}}
{{- with .PrevInSection -}}
<p><a class="link" href="{{- .RelPermalink -}}"><span class="li">&rarr;</span>{{- .Title | safeHTML -}}</a></p>
{{- end -}}
</section>
{{- end -}}