 if and $validate (not $page) }}
        {{ if page.File }}
            {{- warnf "partial [assets/card.html] - Cannot find target page '%s', see '%s'" $args.path page.File.Path -}}
        {{ else }}
            {{- warnf "partial [assets/card.html] - Cannot find target page '%s'" $args.path -}}
        {{ end }}
    {{- end }}
{{- end }}

{{- $title := $args.title -}}
{{- $href := $args.href -}}
{{- $description := $args.description -}}
{{- $thumbnail := $args.thumbnail  -}}
{{- $ratio := $args.ratio -}}
