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

11 lines
501 B
HTML
Raw Normal View History

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