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