hugo-stanley/layouts/partials/article-bottom-navigation.html
2020-03-03 18:56:59 +01:00

11 lines
473 B
HTML

{{- 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 -}}