1 {{- $ph := cond (or (not .Params.header) (not (fileExists (printf
"static/%s" .Params.header)))) (cond (or (not .Parent.Params.header) (not (fileExists (printf
"static/%s" .Parent.Params.header))))
"/img/speedy.png" .Parent.Params.header) .Params.header }}
2 <a href=
"{{ absURL .URL }}">
3 <img style=
"background-image: url({{ relURL $ph }})">
4 <div style=
"font-size: 0.5em; float: right;">{{ .Params.categories }}
</div>
5 <div>{{ .PublishDate.Format
"January 2 2006" }}
</div>
7 {{ if .Params.caption }}
8 {{- if (eq (printf
"%T" .Params.caption)
"string") }}
9 {{- .Params.caption -}}
11 {{- index .Params.caption
0 }}
12 {{- if (gt (len .Params.caption)
1) }}
13 {{- range after
1 .Params.caption -}}
20 <div>{{ truncate
100 .Summary }}
</div>