{{- $related := .Site.RegularPages.Related . | first 3 -}}
{{- with $related -}}
<div class="related-content row d-flex justify-content-around">
    {{- range . -}}
    {{ .Render "card" }}
    {{- end -}}
</div>
{{- end -}}
