9 lines
240 B
HTML
9 lines
240 B
HTML
{{ if .IsNamedParams }}
|
|
<span class="image {{ .Get "set" }}">
|
|
<img src="{{ .Get "src" }}" alt="{{ .Get "alt" }}" />
|
|
</span>
|
|
{{ else }}
|
|
<span class="image {{ .Get 1 }}"><img src="{{ .Get 0 }}" alt="" /></span>
|
|
{{ end }}
|
|
|