This commit is contained in:
Patrick Collins 2017-08-16 11:36:32 -04:00 committed by Bjørn Erik Pedersen
parent 89bafa4907
commit 43d12b44ca

View File

@ -119,7 +119,7 @@ You could then include the following as part of your shortcode templating:
``` ```
{{ if .IsNamedParams }} {{ if .IsNamedParams }}
<img src="{{.Get "src" alt=""> <img src="{{.Get "src" }}" alt="">
{{ else }} {{ else }}
<img src="{{.Get 0}}" alt=""> <img src="{{.Get 0}}" alt="">
{{ end }}. {{ end }}.