You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
400 B
9 lines
400 B
7 years ago
|
<p
|
||
|
{{ if eq (.Get "align") "left" }}class="leftimg"{{else if (.Get "align") "right"}}class="rightimg"{{end -}}
|
||
|
><a href="/media/{{ .Get "filename"}}" target="_blank"><img src="/media/
|
||
|
{{- with .Get "width"}}{{.}}{{else}}100{{end}}x{{with .Get "height"}}{{.}}{{else}}{{end}}/{{ .Get "filename" -}}"
|
||
|
{{ with .Get "caption" }}title="{{.}}"{{end}}
|
||
|
{{ with .Get "caption" }}alt="{{.}}"{{end}}
|
||
|
/></a>
|
||
|
</p>
|