diff options
Diffstat (limited to 'layouts/uncategorized.html')
| -rw-r--r-- | layouts/uncategorized.html | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/layouts/uncategorized.html b/layouts/uncategorized.html deleted file mode 100644 index a269a18a..00000000 --- a/layouts/uncategorized.html +++ /dev/null @@ -1,22 +0,0 @@ -{{ define "main" }} - <article> - {{ partial "header" . }} - {{ partial "home/home-nav" . }} - <div class="post-content markdown-body"> - <p>{{ .Content }}</p> - </div> - <!-- Uncategorized --> - {{ $posts := .Site.GetPage "section" "posts" }} - {{ $essays := .Site.GetPage "section" "essays" }} - {{ $combined := $posts.Pages | append $essays.Pages }} - {{ $uncategorized := where $combined "Params.categories" "eq" 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 }} |
