blob: 2b67c387beb626858b19e44f5282a8f5d43b4281 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{{ define "main" }}
<article>
{{ partial "header" . }}
{{ partial "home/home-nav" . }}
<h1 class="term-title">{{ .Title }}</h1>
<div class="post-content markdown-body">
<p>{{ .Content }}</p>
</div>
<!-- Uncategorized -->
{{ $uncategorized := where (where .Site.RegularPages "Section" "posts") "Params.categories" "==" nil }}
{{ if $uncategorized }}
<ol class="ps-0 flex flex-col gap-2 leading-relaxed">
{{ range $uncategorized }}
{{ partial "items/post-small" . }}
{{ end }}
</ol>
{{ end }}
</article>
{{ partial "footer.html" . }}
{{ end }}
|