ataricode.com/layouts/_default/li.html

10 lines
513 B
HTML

<li style="list-style-type: circle; font-size: 1.4vw">
{{ if isset .Params "image" }}
<img src="{{ .Site.Params.blogCdnUrl }}{{.Params.image}}" width="120px" height="60px" style="vertical-align: middle; padding: 1px"/>
{{ else }}
<img src="https://gmgauthier.us-east-1.linodeobjects.com/blog/img/blue-gray-code.jpg"
width="60px" height="30px" style="vertical-align: middle; padding: 1px"/>
{{end}}
<time>{{.Date.Format "02 Jan 2006"}}</time> - <a href="{{ .Permalink }}">{{ .Title }}</a>
</li>