2022-04-25 17:28:13 -07:00
{{- $isStandalone := false -}}
{{- if ne .Permalink .Site.BaseURL -}}
{{- $isStandalone = true -}}
{{- end -}}
2022-04-19 20:16:20 -07:00
< section class = "h-feed hfeed" itemscope itemtype = "https://schema.org/{{ if $isStandalone }}Complete{{ end }}DataFeed" >
2022-04-25 17:28:13 -07:00
{{- if $isStandalone }}
2022-04-17 12:48:33 -07:00
< h1 class = "p-name" itemprop = "name headline" id = "posts" > Posts< / h1 >
2022-04-25 17:28:13 -07:00
{{- else }}
2022-03-27 11:14:33 -07:00
< h2 class = "p-name" itemprop = "name" id = "posts" > Posts< / h2 >
2022-04-18 00:31:19 -07: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-04-25 17:28:13 -07:00
{{- end }}
2022-04-04 19:13:07 -07:00
< p > I edit some of these posts quite often; some are updated indefinitely. Check the "updated" timestamps.< / p >
2022-02-26 01:05:44 -08: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-04 19:13:07 -07:00
< ol class = "unstyled-list" reversed >
2022-04-25 17:28:13 -07:00
{{- range where site.RegularPages "Type" "in" site.Params.mainSections -}}
{{- if or ($isStandalone) (.Params.featured) }}
2022-03-04 13:55:42 -08:00
< li >
< article class = "h-entry hentry" itemprop = "dataFeedElement" itemscope itemtype = "https://schema.org/BlogPosting https://schema.org/DataFeedItem" >
2022-04-25 17:28:13 -07:00
{{ if $isStandalone -}}
2022-04-25 08:54:42 -07:00
< h2
2022-04-25 17:28:13 -07:00
{{- else -}}
2022-04-25 08:54:42 -07:00
< h3
2022-04-25 17:28:13 -07:00
{{- end }}
2022-04-25 08:54:42 -07:00
itemprop="name headline" class="p-name entry-title">
2022-03-04 13:55:42 -08:00
< a href = "{{ .Permalink }}" itemprop = "url" class = "u-url url" rel = "bookmark" >
2022-04-25 17:28:13 -07:00
{{ .Title }}
2022-03-04 13:55:42 -08:00
< / a >
2022-04-25 17:28:13 -07:00
{{ if $isStandalone -}}
2022-04-25 08:54:42 -07:00
< / h2 >
2022-04-25 17:28:13 -07:00
{{- else -}}
2022-03-04 13:55:42 -08:00
< / h3 >
2022-04-25 17:28:13 -07:00
{{- end }}
2022-03-04 13:55:42 -08:00
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-07 22:44:45 -08:00
< p class = "p-summary entry-summary" itemprop = "description" > {{ .Description }}< / p >
2022-03-04 13:55:42 -08:00
< / article >
2022-02-15 21:42:58 -08:00
< / li >
{{- end }}
2022-04-18 00:31:19 -07:00
{{- end }}
2022-04-04 21:40:36 -07:00
< / ol >
2022-03-07 22:44:45 -08:00
< / section >