mirror of
https://github.com/Findus23/guides.git
synced 2024-09-19 16:03:51 +02:00
8 lines
286 B
HTML
8 lines
286 B
HTML
<figure>
|
|
{{ with .Page.Resources.GetMatch (printf "*%s*" (.Get "src")) }}
|
|
<img src="{{ .Permalink }}" width="{{ .Width }}" height="{{ .Height }}" loading="lazy">
|
|
{{ end }}
|
|
{{if .Get "title"}}
|
|
<figcaption>{{ .Get "title" }}</figcaption>
|
|
{{end}}
|
|
</figure>
|