Welcome to mirror list, hosted at ThFree Co, Russian Federation.

render-image.html « _default « layouts - github.com/colorchestra/smol.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 74f6f95e6714f62a3c3f962fe04cd5fbefc88ea9 (plain)
1
2
3
4
5
6
7
8
9
{{ if .Title }}
<figure>
  <img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" />
  <figcaption>{{ .Title }}</figcaption>
</figure>
{{ else }}
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" />
{{ end }}