takunomi-blog/templates/past.tmpl

18 lines
464 B
Cheetah

{{define "past"}}
<article class="post">
<ul style="width: max-content; list-style: none;">
{{with .Posts}}
{{range .}}
<li>
<div style="display: flex; justify-content: space-between; ">
<div style="padding-right: 20px">
<a class="no-link" style="text-decoration: none; color: inherit" href="/post/{{.URLTitle}}"><b>{{.Title}}</b></a>
</div>
<div>
{{.NormalDate}}
</div>
</div>{{end}}{{end}}
</ul>
</article>
{{end}}