This commit is contained in:
Patrick Collins authored and Bjørn Erik Pedersen committed 2017-08-16 17:36:32 +02:00
1 parent 89bafa4907
commit 43d12b44ca
1 file changed
+1 -1
+1 -1
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 }}.