LoveIt/layouts/_default/_markup/render-image.html

11 lines
358 B
HTML
Raw Normal View History

{{- with .Title -}}
<figure>
{{- partial "plugin/image.html" (dict "src" $.Destination "alt" $.Text "caption" . "linked" true) -}}
<figcaption class="image-caption">
2020-02-18 09:22:24 +01:00
{{- . | safeHTML -}}
</figcaption>
</figure>
{{- else -}}
{{- partial "plugin/image.html" (dict "src" .Destination "alt" .Text) -}}
{{- end -}}