2022-06-01 00:11:52 +00:00
{{ define "main" -}}
2022-05-30 22:49:31 +00:00
< main itemprop = "mainEntity" class = "h-feed hfeed" itemscope = "" itemtype = "https://schema.org/DataFeed" >
2022-05-27 01:57:49 +00:00
< h1 class = "p-name" itemprop = "name headline" id = "notes" > Notes< / h1 >
2022-06-17 15:51:53 +00:00
< p > This is my microblog, containing short informal entries. < a href = "../posts/" > See my blog< / a > for longer entries. An < a href = "./atom.xml" > An Atom feed< / a > contains the full text of all my notes. If that has any problems, I also have < a href = "./index.xml" > a legacy RSS feed< / a > .< / p >
2022-05-24 23:33:16 +00:00
< p role = "doc-tip" >
2022-06-15 05:08:50 +00:00
Timestamp format: < code > YYYY-MM-DD HH:MM:SS< / code > , as per < cite > < a href = "https://www.ietf.org/rfc/rfc3339.txt" > RFC 3339< / a > < / cite > . Sorted newest to oldest.
2022-05-24 23:33:16 +00:00
< / p >
< ol >
{{- $posts := (where site.RegularPages "Section" "notes") -}}
{{- range $posts -}}
{{- $canonicalRelPermalink := .RelPermalink | replaceRE "^/~seirdy/" "/" -}}
2022-05-30 22:49:31 +00:00
< li itemprop = "dataFeedElement" itemscope = "" itemtype = "https://schema.org/DataFeedItem" >
< article class = "h-entry hentry" itemprop = "item" itemscope = "" itemtype = "https://schema.org/SocialMediaPosting" itemid = "{{ .Site.Params.CanonicalBaseURL }}{{ $canonicalRelPermalink }}" >
2022-05-24 23:33:16 +00:00
< h2 itemprop = "name headline" class = "p-name entry-title" >
< a href = "{{ .Permalink }}" itemprop = "url" class = "u-url url" rel = "bookmark" >
{{ .Title }}
< / a >
< / h2 >
2022-06-09 00:40:19 +00:00
< p >
Noted < time itemprop = "datePublished" class = "dt-published published" datetime = "{{ .Date.Format " 2006-01-02 15:04:05Z07:00 " } } " > {{ .Date.Format "2006-01-02 15:04:05" }}< / time >
{{- if gt (sub .Lastmod.Unix .Date.Unix) 3600 -}}
, updated < time { { if not ( . Params . evergreen ) } } itemprop = "dateModified" class = "dt-updated updated" { { end } } datetime = "{{ .Lastmod.Format " 2006-01-02 15:04:05Z07:00 " } } " > {{ .Lastmod.Format "2006-01-02 15:04:05" }}< / time >
2022-05-24 23:33:16 +00:00
{{- end }}
2022-06-09 00:40:31 +00:00
< / p >
2022-06-03 00:25:52 +00:00
< div class = "e-content entry-content" itemprop = "articleBody" >
{{- if .Params.replyURI -}}
{{- partial "reply-context" .Params -}}
{{- end -}}
{{ partial "processed-content.html" . }}
< / div >
2022-05-24 23:33:16 +00:00
< / article >
< / li >
{{- end }}
< / ol >
< / main >
{{ end }}