takunomi-blog/templates/past.tmpl

29 lines
714 B
Cheetah
Raw Normal View History

2017-11-19 14:02:18 +00:00
{{define "past"}}
<article class="post">
2022-06-09 18:26:01 +00:00
<ul id=yearline style="width: max-content; list-style: none;">
{{with .Years}}
2017-11-19 14:02:18 +00:00
{{range .}}
2022-06-09 18:26:01 +00:00
<li class="yearline">
<!-- I mean just what the fuck is going on in that line below -->
<!-- Like, I know, but it's still ridiculous -->
{{(index . 0).Year}}
</li>
{{range .}}
<li>
<div style="display: flex; justify-content: space-between; ">
<div style="padding-right: 20px">
2021-03-10 21:14:21 +00:00
<a class="no-link" style="text-decoration: none;" href="/post/{{.URLTitle}}">{{.Title}}</a>
2022-06-09 18:26:01 +00:00
</div>
<div>
2021-03-09 20:10:26 +00:00
{{.NormalDate}}
2022-06-09 18:26:01 +00:00
</div>
</div>
</li>
{{end}}
<li class="yearend"/>
{{end}}
{{end}}
2017-11-19 14:02:18 +00:00
</ul>
</article>
{{end}}