2022-10-29 11:14:19 -04:00
|
|
|
{{ $related := (where (.Site.RegularPages.Related .) "Params.hidden" "!=" true) | first 5 }}
|
2022-03-03 17:11:19 -05:00
|
|
|
{{ with $related }}
|
2022-06-05 11:20:08 -04:00
|
|
|
<aside class="related-content--wrapper">
|
|
|
|
<h2 class="section-title">{{ T "article.relatedContent" }}</h2>
|
|
|
|
<div class="related-content">
|
2022-03-03 17:11:19 -05:00
|
|
|
<div class="flex article-list--tile">
|
|
|
|
{{ range . }}
|
|
|
|
{{ partial "article-list/tile" (dict "context" . "size" "250x150" "Type" "articleList") }}
|
|
|
|
{{ end }}
|
2020-08-22 07:20:08 -04:00
|
|
|
</div>
|
2022-03-03 17:11:19 -05:00
|
|
|
</div>
|
2020-11-05 22:10:30 -05:00
|
|
|
</aside>
|
2022-03-03 17:11:19 -05:00
|
|
|
{{ end }}
|