2020-11-03 23:46:20 +00:00
{{ define "main" }}
2020-12-29 03:23:54 +00:00
< div itemscope itemtype = "https://schema.org/Article" class = "h-entry" >
< article itemprop = "mainEntityOfPage" >
< header id = "post-header" >
< h1 itemprop = "name headline" class = "p-name" > {{ .Title }}< / h1 >
{{ $lastmod := .Lastmod -}}
{{ if lt .Date $lastmod -}}
2020-12-29 21:12:57 +00:00
Originally posted < a class = "u-url" href = "https://seirdy.one{{ .RelPermalink }}" > < time class = "dt-published" itemprop = "datePublished" datetime = "{{ .Date.Format " 2006-01-02T15:04:05Z07:00 " } } " > {{ .Date.Format "2006-01-02" }}< / time > < / a > by {{- partial "indieweb-author.html" -}}.< br >
2020-12-29 03:23:54 +00:00
Last updated < time itemprop = "dateModified" class = "dt-updated" datetime = "{{ $lastmod.Format " 2006-01-02T15:04:05Z07:00 " } } " > {{ .Lastmod.Format "2006-01-02" }}< / time > . < a href = "{{ .Site.Params.logUrlPrefix }}content/{{ .File.Path }}" > Changelog< / a >
{{ else -}}
2020-12-29 21:12:57 +00:00
Posted < a class = "u-url" href = "https://seirdy.one{{ .RelPermalink }}" > < time itemprop = "datePublished" datetime = "{{ .Date.Format " 2006-01-02T15:04:05Z07:00 " } } " > {{ .Date.Format "2006-01-02" }}< / time > < / a > by {{- partial "indieweb-author.html" -}}.
2020-12-29 03:23:54 +00:00
{{ end }}
< / header >
< section class = "e-content" itemprop = "articlebody" >
2021-01-18 01:18:02 +00:00
{{ partial "processed-content" . -}}
2020-12-29 03:23:54 +00:00
< / section >
2021-01-18 03:42:07 +00:00
< / article >
< br >
< hr >
< footer class = "comment" >
{{ with .OutputFormats.Get "gemtext" -}}
< p >
View this article on < a rel = "syndication" class = "u-syndication" href = "{{replace .Permalink " / gemini " " " 1 | safeURL } } " > my Gemini capsule< / a >
< / p >
{{ end -}}
< p > < a href = "mailto:~seirdy/seirdy.one-comments@lists.sr.ht" > Send an email< / a > to leave a comment in the < a href = "https://lists.sr.ht/~seirdy/seirdy.one-comments" > mailing list< / a > for seirdy.one. You'll have to send in plain text; please < a href = "https://useplaintext.email/" > learn how.< / a > . Alternatively, send your email < a href = "mailto:seirdy@seirdy.one" > directly to me< / a > ; it won’ t show up on the mailing list, but I’ ll see it.< / p >
< p > This site also supports < a href = "https://indieweb.org/webmention" > Webmentions< / a > . Webmentions received for this post will appear below after I approve them.< / p >
< section class = "webmentions" >
< h2 > Webmentions< / h2 >
< ul class = "unstyled-list" >
{{ $target := .RelPermalink -}}
{{ $url := printf "https://seirdy.one/webmentions/get?status=approved& target=https://seirdy.one%s" $target -}}
{{ $webmentions := getJSON $url -}}
{{ range $webmentions -}}
{{ $webmention := . -}}
< li >
< time datetime = "{{ dateFormat " 2006-01-02 15:04:05Z07:00 " $ webmention . created_at } } " > {{ dateFormat "2006-01-02" $webmention.created_at }}< / time >
< br >
< a href = "{{ $webmention.source }}" > {{ $webmention.title }}< / a >
< / li >
{{ else -}}
< li > < p > This post doesn't have any approved Webmentions yet.< / p > < / li >
{{ end -}}
< / ul >
< / section >
< / footer >
2020-12-29 03:23:54 +00:00
< / div >
2020-11-19 06:20:30 +00:00
< hr >
2021-01-18 03:42:07 +00:00
< br >
2020-11-25 08:43:39 +00:00
{{ end }}