{{ $altText := .Text }} {{ $caption := .Title }} {{ with $.Page.Resources.GetMatch (.Destination) }}
{{ $altText }}
{{ $caption | markdownify }}
{{ else }} {{ errorf `[CONGO] Markdown image error in "%s": Resource "%s" not found. Check the path is correct or remove the image from the content.` .Page.Path .Destination }} {{ end }}