website/themes/gokarna/layouts/partials/prev-next.html
Hoernschen 124e58c339
All checks were successful
build-to-pages / build (push) Successful in 15s
build-to-pages / push (push) Successful in 10s
ADD hugo with pipline
2023-10-31 14:04:49 +01:00

29 lines
619 B
HTML

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