LoveIt/layouts/partials/related.html

9 lines
207 B
HTML
Raw Normal View History

2019-02-03 12:30:44 +01:00
{{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }}
<h3>Similar articles:</h3>
<ul>
{{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}