keimena/layouts/partials/prev-next.html

23 lines
429 B
HTML
Executable file

{{ with .NextInSection }}
<div class="prev-post">
<a href="{{ .RelPermalink }}">
<p>
&#8592;
{{ i18n "previous" }}:
{{ .Title }}
</p>
</a>
</div>
{{ end }}
{{ with .PrevInSection }}
<div class="next-post">
<p>
<a href="{{ .RelPermalink }}">
{{ i18n "next" }}:
{{ .Title }}
&#8594;
</a>
</p>
</div>
{{ end }}