mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-15 03:16:30 +01:00
9 lines
462 B
HTML
9 lines
462 B
HTML
<figure>
|
|
{{- $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 "scratch" (.Page.Scratch.Get "scratch")) -}}
|
|
{{- with (.Title | default .Text) -}}
|
|
<figcaption class="image-caption">
|
|
{{- . | safeHTML -}}
|
|
</figcaption>
|
|
{{- end -}}
|
|
</figure>
|