mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-12 09:51:15 +01:00
10 lines
358 B
HTML
10 lines
358 B
HTML
{{- with .Title -}}
|
|
<figure>
|
|
{{- partial "plugin/image.html" (dict "src" $.Destination "alt" $.Text "caption" . "linked" true) -}}
|
|
<figcaption class="image-caption">
|
|
{{- . | safeHTML -}}
|
|
</figcaption>
|
|
</figure>
|
|
{{- else -}}
|
|
{{- partial "plugin/image.html" (dict "src" .Destination "alt" .Text) -}}
|
|
{{- end -}}
|