blob: aba88e33c8d54696c0bcf0e69af736327b3d8db0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{{ $related := (where (.Site.RegularPages.Related .) "Params.hidden" "!=" true) | first 5 }}
{{ with $related }}
<aside class="related-content--wrapper">
<h2 class="section-title">{{ T "article.relatedContent" }}</h2>
<div class="related-content">
<div class="flex article-list--tile">
{{ range . }}
{{ partial "article-list/tile" (dict "context" . "size" "250x150" "Type" "articleList") }}
{{ end }}
</div>
</div>
</aside>
{{ end }}
|