riq0h.jp/themes/qiss/layouts/partials/related.html

9 lines
207 B
HTML
Raw Normal View History

2023-08-21 10:07:01 +09: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 }}