2020-12-01 01:19:33 +00:00
{{ if eq .RelPermalink "/posts.html" -}}
< h1 > Posts< / h1 >
{{ else -}}
< h2 > Posts< / h2 >
{{ end -}}
2020-11-26 06:17:58 +00:00
< 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 >
2020-11-03 23:46:20 +00:00
< ul id = "posts" >
2020-11-25 08:43:39 +00:00
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
< li >
2020-11-26 06:17:58 +00:00
< 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 }}
2020-11-03 23:46:20 +00:00
< / ul >