2020-04-12 08:16:04 +00:00
|
|
|
{{ $related := .Site.RegularPages.Related . | first 5 }}
|
|
|
|
{{ with $related }}
|
2022-03-31 04:22:55 +00:00
|
|
|
<h3>{{ i18n "related-articles" }}</h3>
|
2020-04-12 08:16:04 +00:00
|
|
|
<ul>
|
|
|
|
{{ range . }}
|
|
|
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a> <span class="article-date">- {{ i18n "readingTimeValue" .ReadingTime }}</span></li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|