{{- $opts := dict "page" . "href" .Params.href "title" .Params.title "description" .Params.description "target" .Params.target "class" .Params.class "rel" .Params.rel }} {{- with .Parent }} {{- partial "inline/link-card.html" $opts }} {{- else }}
{{- partial "inline/link-card.html" $opts }}
{{- end }} {{- define "partials/inline/link-card.html" }}
{{ .title }}
{{ with .description }}

{{ . }}

{{ end }}
{{- end -}}