2022-03-18 06:35:39 +00:00
< section class = "h-feed hfeed" itemscope itemtype = "https://schema.org/DataFeed" >
2022-04-18 07:31:19 +00:00
{{ $allPosts := false }}
2020-12-01 01:19:33 +00:00
{{ if eq .RelPermalink "/posts.html" -}}
2022-04-18 07:31:19 +00:00
{{ $allPosts = true }}
2022-04-17 19:48:33 +00:00
< h1 class = "p-name" itemprop = "name headline" id = "posts" > Posts< / h1 >
2022-02-16 05:42:58 +00:00
{{ else -}}
2022-03-27 18:14:33 +00:00
< h2 class = "p-name" itemprop = "name" id = "posts" > Posts< / h2 >
2022-04-18 07:31:19 +00:00
< p > Here's a selection of my best posts. To see the rest, visit < a href = "/posts.html" > my Posts page< / a > .< / p >
2022-03-20 23:27:11 +00:00
{{ end -}}
2022-04-05 02:13:07 +00:00
< p > I edit some of these posts quite often; some are updated indefinitely. Check the "updated" timestamps.< / p >
2022-02-26 09:05:44 +00:00
< p > < em > Timestamp format: < code > YYYY-MM-DD< / code > , as per < cite > < a href = "https://www.ietf.org/rfc/rfc3339.txt" > RFC 3339< / a > < / cite > and < cite > < a href = "https://xkcd.com/1179/" > ISO 8601< / a > < / cite > < / em > < / p >
2022-04-05 02:13:07 +00:00
< ol class = "unstyled-list" reversed >
2022-02-16 05:42:58 +00:00
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
2022-04-18 07:31:19 +00:00
{{- if or ($allPosts) (.Params.featured) -}}
2022-03-04 21:55:42 +00:00
< li >
< article class = "h-entry hentry" itemprop = "dataFeedElement" itemscope itemtype = "https://schema.org/BlogPosting https://schema.org/DataFeedItem" >
< h3 itemprop = "name headline" class = "p-name entry-title" >
< a href = "{{ .Permalink }}" itemprop = "url" class = "u-url url" rel = "bookmark" >
{{ .Title -}}
< / a >
< / h3 >
Posted < time itemprop = "datePublished" class = "dt-published published" datetime = "{{ .Date.Format " 2006-01-02 15:04:05Z07:00 " } } " > {{ .Date.Format "2006-01-02" }}< / time > , updated
< time itemprop = "dateModified" class = "dt-updated updated" datetime = "{{ .Lastmod.Format " 2006-01-02 15:04:05Z07:00 " } } " > {{ .Lastmod.Format "2006-01-02" }}< / time >
2022-03-08 06:44:45 +00:00
< p class = "p-summary entry-summary" itemprop = "description" > {{ .Description }}< / p >
2022-03-04 21:55:42 +00:00
< / article >
2022-02-16 05:42:58 +00:00
< / li >
{{- end }}
2022-04-18 07:31:19 +00:00
{{- end }}
2022-04-05 04:40:36 +00:00
< / ol >
2022-03-08 06:44:45 +00:00
< / section >