11 lines
No EOL
343 B
HTML
11 lines
No EOL
343 B
HTML
{{ $related := .Site.RegularPages.Related . | first 5 }}
|
|
{{ with $related }}
|
|
<div class="related block">
|
|
<h3 class="related__title">{{ T "related_title" }}</h3>
|
|
<ul class="related__list">
|
|
{{ range . }}
|
|
<li class="related__item"><a class="related__link" href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
{{ end }} |