15 lines
225 B
HTML
15 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}}
|