site.lyte.dev/layouts/blog/li.html
2024-06-14 10:36:05 -05:00

12 lines
323 B
HTML

<div class="left-border">
<h3>
<a style="flex-shrink: 1; margin-right: auto;" href="{{ .Permalink }}">{{ .Title }}</a>
{{ if .Draft }}<span class="badge">DRAFT</span>{{end}}
<br />
<small>Posted on {{ dateFormat "Jan 2 2006" (cond .Date.IsZero .Lastmod .Date) }}</small>
</h3>
<p>
{{ .Summary }}
</p>
</div>