{{- $related := .Site.RegularPages.Related . | first 3 -}}
{{- with $related -}}
    <div class="related-content row mt-5 row-cols-1 row-cols-lg-3">
        {{- range . -}}
            <div class="col mb-3">
                {{ .Render "card" }}
            </div>
        {{- end -}}
    </div>
{{- end -}}
