2023-08-28 18:48:46 +00:00
{{- $postDate := .Date.Format "2006-01-02" }}
{{- $updateDate := .Lastmod.Format "2006-01-02" }}
{{ if or (.Params.description) (.Params.date) }}
2023-08-23 22:02:19 +00:00
{{ if .Params.description }}< p > {{ .Params.description }}< / p > {{ end }}
2023-08-22 00:54:33 +00:00
< p >
2023-09-04 21:45:00 +00:00
{{ if .Params.date }}< table > < tr > < td > posted:< / td > < td > {{ $postDate }}< / td > < / tr > {{- if ne $postDate $updateDate }}< tr > < td > updated:< / td > < td > {{ $updateDate }}< / td > < / tr > {{ end }}< / table > {{ end }}
2023-08-22 00:54:33 +00:00
< / p >
2023-09-18 00:20:17 +00:00
< hr >
2023-09-18 00:06:33 +00:00
{{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) }}
2023-09-18 00:20:17 +00:00
< p >
< h3 > On this page< / h3 >
2023-09-18 00:06:33 +00:00
{{ .TableOfContents }}
< hr >
2023-09-18 00:20:17 +00:00
< / p >
2023-09-18 00:06:33 +00:00
{{ end }}
2023-08-23 00:39:37 +00:00
{{- with .Params.tags -}}
2023-09-18 00:20:17 +00:00
< p >
< h3 > Tags< / h3 >
[< a href = "/tags" > all< / a > ]
2023-08-23 00:39:37 +00:00
{{- range . }}
{{- $tag := urlize . -}}
[< a href = '{{ absLangURL (printf "tags/%s" $tag) }}' title = "{{ . }}" > {{ . }}< / a > ]
{{- end }}
2023-09-18 00:20:17 +00:00
< br > < br >
2023-09-18 00:06:33 +00:00
< hr >
2023-08-23 00:39:37 +00:00
< / p >
2023-09-18 00:20:17 +00:00
{{- end }}
2023-08-22 00:54:33 +00:00
{{ end }}
2023-09-12 22:02:42 +00:00
{{ if isset .Params "series" }}
{{$related := where .Site.RegularPages ".Params.series" "eq" .Params.series }}
{{- $relatedLimit := default 8 .Site.Params.numberOfRelatedPosts }}
2023-09-18 00:20:17 +00:00
< h3 > More {{ .Params.series }}< / h3 >
2023-09-12 22:02:42 +00:00
< ul >
{{- range first $relatedLimit $related }}
< li >
< a href = "{{ .Permalink }}" title = "{{ .Title }}" > {{ .Title | markdownify }}< / a >
< / li >
{{ end }}
{{ if gt (len $related) $relatedLimit }}
< li >
< a href = "/series/{{ lower .Params.series }}/" > < i > See all {{ .Params.series }}< / i > < / a >
< / li >
{{ end }}
< / ul >
< hr >
{{ end }}
2023-08-22 00:54:33 +00:00
{{- $posts := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
{{- $featured := default 8 .Site.Params.numberOfFeaturedPosts }}
{{- $featuredPosts := first $featured (where $posts "Params.featured" true)}}
{{- with $featuredPosts }}
2023-09-18 00:20:17 +00:00
< h3 > Featured Posts< / h3 >
2023-08-22 00:54:33 +00:00
< ul >
{{- range . }}
< li >
< a href = "{{ .Permalink }}" title = "{{ .Title }}" > {{ .Title | markdownify }}< / a >
< / li >
{{- end }}
< / ul >
{{- end }}
2023-12-11 16:12:57 +00:00
< hr >
2023-12-12 14:31:41 +00:00
< h3 > status.lol< / h3 >
2023-12-11 16:12:57 +00:00
< script src = "https://status.lol/jbowdre.js?time&link&no-emoji" > < / script >