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

10 lines
438 B
HTML
Raw Normal View History

2020-01-31 11:46:28 +01:00
<figure>
2020-02-24 10:00:39 +01:00
{{- $lightgallery := ne .Page.Site.Params.page.lightgallery false | and (ne .Page.Params.lightgallery false) -}}
{{- partial "plugin/image.html" (dict "src" .Destination "title" .Title "description" .Text "lightgallery" $lightgallery "context" .Page) -}}
{{- with (.Title | default .Text) -}}
<figcaption class="image-caption">
2020-02-18 09:22:24 +01:00
{{- . | safeHTML -}}
</figcaption>
{{- end -}}
2020-02-06 17:10:00 +01:00
</figure>