mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-14 17:42:09 +00:00
25ffbd9bbb
ISO 8601 and RFC 3339 are the correct date formats. The other date formats are incorrect.
13 lines
478 B
HTML
13 lines
478 B
HTML
<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">
|
|
{{- 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>
|
|
<br>
|
|
<a href="{{ .Permalink }}">
|
|
{{ .Title }}
|
|
</a>
|
|
</li>
|
|
{{- end }}
|
|
</ul>
|