diff options
| author | eltrac <hi@eltr.ac> | 2026-04-07 14:53:17 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-04-07 14:53:17 +0800 |
| commit | 10431bd8f5ff71690ae4e5444e8d7894fd401ae5 (patch) | |
| tree | 62b7fd1b6c1f68d2804f380eb522bcebeb2c8d9f /layouts/uncategorized.html | |
| parent | 3e0edacc4a0cafa53ede57ebb6f0378c93f3123b (diff) | |
chore: move templates out of site repo
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 }} |
