blob: afec928a5a77f73332785dde8ecf02a2c8b58a2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{{ define "main" }}
<article class="posts termlist-page">
{{ partial "components/post-page-header.html" . }}
{{ partial "components/breadcrumbs.html" . }}
<div class="post-content markdown-body">
<p>{{ .Content }}</p>
</div>
<!-- Uncategorized -->
{{ $uncategorized := where (where .Site.RegularPages "Section" "posts") "Params.categories" "==" nil }}
{{ if $uncategorized }}
<section class="uncategorized-posts term-list">
<ol class="term-list-posts">
{{ range $uncategorized }}
<li>
<a href="{{ .RelPermalink }}" data-umami-event="Click Post Link from Uncategorized">
{{ .Title }}{{ with .Params.subtitle }}:<span class="posts-subtitle">{{. }}</span>
{{ end }}
</a>
<time>
{{ .Date.Format "2006-1-2" }}
</time>
</li>
{{ end }}
</ol>
</section>
{{ end }}
</article>
{{ partial "footer.html" . }}
{{ end }}
|