- {{ with (.Get "title") -}}
- {{ . }}
- {{- end -}}
- {{- if or (.Get "caption") (.Get "attr") -}}
- {{- .Get "caption" | markdownify -}}
- {{- with .Get "attrlink" }}
-
- {{- end -}}
- {{- .Get "attr" | markdownify -}}
- {{- if .Get "attrlink" }}{{ end }}
- {{- end }}
-
+ style="display: block; margin-bottom: 0;"
+ />{{- if .Get "link" }}{{ end -}}
+ {{- if or (.Get "title") (.Get "caption") -}}
+