2024-01-20 16:21:09 -06:00
|
|
|
{{ if .Params.description }}<p>{{ .Params.description }}</p><hr>{{ end }}
|
|
|
|
{{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) }}
|
|
|
|
<p>
|
|
|
|
<h3>On this page</h3>
|
|
|
|
{{ .TableOfContents }}
|
2023-09-17 19:20:17 -05:00
|
|
|
<hr>
|
2024-01-20 16:21:09 -06:00
|
|
|
</p>
|
2023-08-21 19:54:33 -05:00
|
|
|
{{ end }}
|
|
|
|
|
2024-01-18 16:06:53 -06:00
|
|
|
{{ if isset .Params "categories" }}
|
|
|
|
{{$related := where .Site.RegularPages ".Params.categories" "eq" .Params.categories }}
|
2023-09-12 17:02:42 -05:00
|
|
|
{{- $relatedLimit := default 8 .Site.Params.numberOfRelatedPosts }}
|
2024-01-18 16:06:53 -06:00
|
|
|
<h3>More {{ .Params.categories }}</h3>
|
2023-09-12 17:02:42 -05:00
|
|
|
<ul>
|
|
|
|
{{- range first $relatedLimit $related }}
|
|
|
|
<li>
|
|
|
|
<a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title | markdownify }}</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
{{ if gt (len $related) $relatedLimit }}
|
|
|
|
<li>
|
2024-01-18 16:06:53 -06:00
|
|
|
<a href="/categories/{{ lower .Params.categories }}/"><i>See all {{ .Params.categories }}</i></a>
|
2023-09-12 17:02:42 -05:00
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
<hr>
|
|
|
|
{{ end }}
|
|
|
|
|
2023-08-21 19:54:33 -05: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-17 19:20:17 -05:00
|
|
|
<h3>Featured Posts</h3>
|
2023-08-21 19:54:33 -05:00
|
|
|
<ul>
|
|
|
|
{{- range . }}
|
|
|
|
<li>
|
|
|
|
<a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title | markdownify }}</a>
|
|
|
|
</li>
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
{{- end }}
|
2023-12-11 10:12:57 -06:00
|
|
|
<hr>
|
2023-12-12 08:31:41 -06:00
|
|
|
<h3>status.lol</h3>
|
2023-12-23 17:00:24 -06:00
|
|
|
<script src="https://status.lol/jbowdre.js?time&link&fluent&pretty"></script>
|
2024-01-23 14:01:09 -06:00
|
|
|
{{- if eq .Site.Params.analytics true }}
|
2024-01-23 13:24:10 -06:00
|
|
|
<hr>
|
2024-01-23 18:16:27 -06:00
|
|
|
<a href="" target="_blank" class="tinylytics_webring" title="Tinylytics Webring">️🕸<img class="tinylytics_webring_avatar" src="" style="display: none"/>💍</a>
|
2024-01-23 14:01:09 -06:00
|
|
|
{{- end }}
|