2021-06-24 07:30:38 +00:00
{{ define "main" }}
< div class = "wrapper" >
< article >
< div class = "frontmatter" >
< h1 class = "post-title" > < a href = "{{ .Permalink }}" > {{ .Title | markdownify }}< / a > < / h1 >
2021-11-10 08:15:24 +00:00
< p > < strong > Reading Time:< / strong > {{ .ReadingTime }} minutes | < strong > Published:< / strong > {{ dateFormat "2006-01-02" .Date }} | < strong > Last Edited:< / strong > {{ dateFormat "2006-01-02" .Lastmod }}< / a > < / p >
2021-11-10 09:08:38 +00:00
< p > < strong > Download this post as:< / strong > < a href = "{{ .Permalink | replaceRE " ^ [ ^ / ] + : / / [ ^ / ] + / ( . * ) / $ " " $ 1 " } } . pdf " > PDF,< / a > < a href = "{{ .Permalink | replaceRE " ^ [ ^ / ] + : / / [ ^ / ] + / ( . * ) / $ " " $ 1 " } } . epub " > EPUB,< / a > or < a href = "{{ .Permalink | replaceRE " ^ [ ^ / ] + : / / [ ^ / ] + / ( . * ) / $ " " $ 1 " } } . txt " > plaintext< / a > < / p >
2021-06-24 07:30:38 +00:00
< / div >
{{- if .Params.toc }}
< aside id = "toc" >
< div class = "toc" >
< h3 class = "toc-title" > Table of Contents< / h3 >
{{ .TableOfContents }}
< / div >
< / aside >
{{- end }}
< div class = "content" >
2023-05-21 05:57:58 +00:00
{{- if .Params.rss_only }}
< aside class = "admonition note" >
< p > < strong > Note:< / strong > this is an RSS-only post; it's exclusively publicised through < a href = "/posts/index.xml" > my RSS feed.< / a > Read about < a href = "https://daverupert.com/2018/01/welcome-to-rss-club/" > RSS Club< / a > for more information.< / p >
< / aside >
{{- end }}
2021-11-10 09:08:38 +00:00
{{ .Content | replaceRE "(< h [ 1-6 ] id = \"(.+)\".* > )(.*)(< /h[1-6]>)" `${1}${3} < a class = "anchor-tag" ariaLabel = "Anchor" href = "#${2}" > ¶< / a > ${4}` | safeHTML }}
2021-06-24 07:30:38 +00:00
< / div >
2023-01-26 19:44:29 +00:00
< hr / >
2023-01-26 19:48:50 +00:00
< div class = "content" > < p > I'm experimenting with comments for a couple of months. This is a self-hosted < a href = "https://commento.io/" > Commento< / a > server, so none of the information entered here goes through any third parties, just my own systems.< / p > < / div >
2023-01-26 19:29:07 +00:00
< script defer src = "https://commento.secluded.site/js/commento.js" > < / script >
< div id = "commento" > < / div >
2023-01-26 19:44:29 +00:00
< hr / >
2021-06-24 07:30:38 +00:00
< / article >
< / div >
{{ end }}