14 lines
225 B
HTML
14 lines
225 B
HTML
{{ if .Get "href"}}
|
|
<a href='{{.Get "href"}}'>
|
|
{{end}}
|
|
<img
|
|
src='{{.Get "src"}}'
|
|
{{if .Get "alt"}}
|
|
alt='{{.Get "alt"}}'
|
|
{{end}}
|
|
{{if .Get "float"}}
|
|
style='float:{{.Get "float"}}'
|
|
{{end}}>
|
|
{{ if .Get "href"}}
|
|
</a>
|
|
{{end}}
|