summaryrefslogtreecommitdiff
path: root/layouts/uncategorized.html
blob: 2aab301945931e256e5cd44b49afb1c843c43bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{ define "main" }}
    <article>
        <div class="post-content markdown-body">
            <p>{{ .Content }}</p>
        </div>
        {{ $uncategorized := where 
            (where 
                .Site.Pages 
                "Section" "article") 
            "Params.categories" "eq" nil }}
        {{ with $uncategorized }}
        <ol class="ps-0 flex flex-col gap-2 leading-relaxed">
            {{ range . }}
                {{ if not .Date.IsZero }}
                    {{ .Render "view_postline" }}
                {{ end }}
            {{ end }}
        </ol>
        {{ end }}
    </article>
{{ end }}