theme-blog-ewen/layouts/partials/related.html
2023-12-15 17:26:57 +01:00

10 lines
288 B
HTML

{{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }}
<h3>Billets similaires</h3>
<ul>
{{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a> <span class="article-date">- {{ i18n "readingTimeValue" .ReadingTime }}</span></li>
{{ end }}
</ul>
{{ end }}