riq0h.jp/themes/qiss/layouts/partials/related.html
2023-08-21 10:07:01 +09:00

9 lines
No EOL
207 B
HTML

{{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }}
<h3>Similar articles:</h3>
<ul>
{{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}