1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00
seirdy.one/themes/etch-custom/layouts/partials/posts.html

14 lines
478 B
HTML
Raw Normal View History

<h3>Posts</h3>
<p><em>Timestamp format: <code>YYYY-MM-DD</code>, as per <a href="https://www.ietf.org/rfc/rfc3339.txt">RFC 3339</a> and <a href="https://xkcd.com/1179/">ISO 8601</a></em></p>
<ul id="posts">
2020-11-25 08:43:39 +00:00
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
<li>
<time datetime="{{ .Date.Format "2006-01-02 15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02" }}</time>
2020-11-25 08:43:39 +00:00
<br>
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
</li>
{{- end }}
</ul>