mirror of
https://github.com/dillonzq/LoveIt.git
synced 2025-01-22 16:31:52 +01:00
11 lines
No EOL
439 B
HTML
11 lines
No EOL
439 B
HTML
<figure>
|
|
{{- $loading := resources.Get "svg/loading.svg" | minify -}}
|
|
<img src="{{ $loading.RelPermalink }}" data-sizes="auto" data-src="{{ .Destination | safeURL }}" alt="{{ .Text }}"{{ with .Title }} title="{{ . }}"{{ end }} class="lazyload">
|
|
<figcaption class="image-caption">
|
|
{{- if .Title -}}
|
|
{{- .Title -}}
|
|
{{- else -}}
|
|
{{- .Text -}}
|
|
{{- end -}}
|
|
</figcaption>
|
|
</figure> |