2022-07-14 23:12:56 +02:00
{{ define "body_class" }} post-template {{ end }}
{{ define "main" }}
< header class = "site-header" >
{{- partial "site-header.html" $ -}}
< / header >
< main id = "site-main" class = "site-main outer" >
< div class = "inner" >
< article class = "post-full post {{ if not (.Param " thumbnail " ) } } no-image { { end } } " >
< header class = "post-full-header" >
{{ if .Param "thumbnail" }}
< figure class = "post-full-image" >
< img src = "{{ .Param " thumbnail " } } " alt = "{{ .Title }}" / >
< / figure >
{{ end }}
< h1 class = "post-full-title" > {{ .Title }}< / h1 >
{{ if .Param "description" }}
< p class = "post-full-custom-excerpt" > {{ .Description }}< / p >
{{ end }}
< div class = "post-full-byline" >
< section class = "post-full-byline-content" >
{{ if ne .Params.rss_ignore true }}
< section class = "post-full-byline-meta" >
< div class = "byline-meta-content" >
< time class = "byline-meta-date" datetime = "{{.Date.Format " 2006-31-01 " } } " > < svg xmlns = "http://www.w3.org/2000/svg" class = "mr-1" width = "16" height = "16" viewBox = "0 2 24 24" stroke-width = "1.5" fill = "currentColor" stroke-linecap = "round" stroke-linejoin = "round" >
< path d = "M19,4h-1V2h-2v2H8V2H6v2H5C3.89,4,3.01,4.9,3.01,6L3,20c0,1.1,0.89,2,2,2h14c1.1,0,2-0.9,2-2V6C21,4.9,20.1,4,19,4z M19,20 H5V10h14V20z M9,14H7v-2h2V14z M13,14h-2v-2h2V14z M17,14h-2v-2h2V14z M9,18H7v-2h2V18z M13,18h-2v-2h2V18z M17,18h-2v-2h2V18z" / >
< / svg > {{.Date.Format "2 January 2006"}}< / time >
< span class = "byline-reading-time" > < span class = "bull" > • < / span > < svg xmlns = "http://www.w3.org/2000/svg" class = "mr-1" width = "16" height = "16" viewBox = "0 2 24 24" stroke-width = "1.5" fill = "currentColor" stroke-linecap = "round" stroke-linejoin = "round" >
< path d = "M0 0h24v24H0z" fill = "none" / > < path d = "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" / > < path d = "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z" / >
< / svg > {{ .ReadingTime }} min read< / span >
< span class = "byline-reading-count" > < span class = "bull" > • < / span > < svg xmlns = "http://www.w3.org/2000/svg" class = "mr-1" width = "16" height = "16" viewBox = "0 2 24 24" stroke-width = "1.5" fill = "currentColor" stroke-linecap = "round" stroke-linejoin = "round" >
< path d = "M19 1l-5 5v11l5-4.5V1zM1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5V6c-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6zm22 13.5V6c-.6-.45-1.25-.75-2-1v13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5v2c1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5v-1.1z" / >
< / svg > {{ .WordCount }} words< / span >
2023-01-27 11:24:33 +01:00
< span class = "bull" > • < / span > < svg xmlns = "http://www.w3.org/2000/svg" width = "16" height = "16" viewBox = "0 2 24 24" width = "24px" fill = "currentColor" > < path d = "M0 0h24v24H0z" fill = "none" / > < path d = "M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z" / > < / svg > {{ range (.GetTerms "tags") }}
2022-09-13 13:59:22 +02:00
< a href = "{{ .RelPermalink }}" > {{ .LinkTitle }}< / a >
2023-01-27 11:24:33 +01:00
{{ end }}< / div >
2022-07-14 23:12:56 +02:00
< / section >
{{ end }}
< / section >
< / div >
< / header >
< section class = "post-full-content" >
< div class = "post-content" >
{{ .Content }}
2023-04-04 20:35:45 +02:00
{{ if ne .Params.rss_ignore true }}
< small > This article and its media are licensed under the < a href = "http://creativecommons.org/licenses/by-nc-sa/4.0/" > Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA) license< / a > , except where otherwise noted.< / small >
{{ end }}
2022-07-14 23:12:56 +02:00
< / div >
< / section >
< / article >
{{ if ne .Params.rss_ignore true }}
< h4 > Comments< / h4 >
< small > Supports Markdown formatting. < a href = "/tos" > Terms of Service and Privacy Policy< / a > .< / small >
2022-09-13 13:59:22 +02:00
< section id = "isso-thread" data-isso-css-url = "{{ .RelPermalink }}" > < noscript > < small > Javascript needs to be activated to view comments.< / small > < / noscript > < / section >
2022-07-14 23:12:56 +02:00
{{ end }}
< / div >
< / main >
{{ if ne .Params.rss_ignore true }}
{{- partial "post-navigation.html" . -}}
{{ end }}
{{ end }}