aboutsummaryrefslogblamecommitdiff
path: root/layouts/_default/_markup/render-image.html
blob: b2ccc083b8eb2cc02677025419aeb2d48462e72f (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                       







                                                        


                                                                                
<figure class="figure">

<img 
    class="d-block img-fluid mb-2 rounded border shadow"
    max-width="800"
    loading="lazy"
    src="{{ .Destination | safeURL }}"
    {{- with .Text }} alt="{{ . }}"{{ end -}}
    {{- with .Title }} title="{{ . }}"{{ end -}}
>
{{- with .Title }}<figcaption class="figure-caption">{{.}}</figcaption>{{end -}}

</figure>