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

11 lines
503 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 -}}
2020-03-09 14:30:08 +01:00
{{- partial "plugin/image.html" (dict "src_s" .Destination "title" .Title "description" .Text "lightgallery" false "scratch" (.Page.Scratch.Get "scratch")) -}}
{{- end -}}