rimarima/themes/hugo-liftoff/layouts/partials/posts/next-previous.html
Adrian Amaglio c09f092db4 init
2023-11-17 10:54:41 +01:00

13 lines
395 B
HTML

{{ if or (.PrevInSection) (.NextInSection) }}
<section>
<h2>Read Next</h2>
<div class="single-next-previous">
{{ with .PrevInSection }}
<a class="previous" href="{{.Permalink}}">&laquo; {{ .Title }}</a>
{{ end }}
{{ with .NextInSection }}
<a class="next" href="{{.Permalink}}">{{ .Title }} &raquo;</a>
{{ end }}
</div>
</section>
{{ end }}