summaryrefslogtreecommitdiff
path: root/layouts/_partials/template
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-04-07 14:53:17 +0800
committereltrac <hi@eltr.ac>2026-04-07 14:53:17 +0800
commit10431bd8f5ff71690ae4e5444e8d7894fd401ae5 (patch)
tree62b7fd1b6c1f68d2804f380eb522bcebeb2c8d9f /layouts/_partials/template
parent3e0edacc4a0cafa53ede57ebb6f0378c93f3123b (diff)
chore: move templates out of site repo
Diffstat (limited to 'layouts/_partials/template')
-rw-r--r--layouts/_partials/template/post-page.html45
1 files changed, 0 insertions, 45 deletions
diff --git a/layouts/_partials/template/post-page.html b/layouts/_partials/template/post-page.html
deleted file mode 100644
index 0b55d48a..00000000
--- a/layouts/_partials/template/post-page.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<article class="h-entry">
- <!-- Post Header -->
- <header
- style="view-transition-name: post-{{ .File.UniqueID }}"
- class="mb-8 relative"
- >
- {{ if .Params.banner }}
- {{ partial "components/logo" (dict
- "class" "block round-sticker w-14 h-14 lg:w-28 lg:h-28 right-2 lg:-right-20 top-2 lg:top-4 absolute rotate-[3.0deg] z-10"
- "imageClass" "block w-full"
- "ctx" .
- ) }}
- {{ else }}
- {{ partial "components/logo" (dict
- "class" "block w-[10rem]"
- "imageClass" "block w-full"
- "ctx" .
- ) }}
- {{ end }}
-
- {{ partial "posts/banner" . }}
- <!-- Title and Subtitle -->
- <h1 class="text-size-3xl font-900 xerox">
- <span data-pagefind-meta="title" class="p-name">{{ .Title }}</span>
- {{ with .Params.subtitle }}
- <small class="block text-secondary font-italic text-size-xl">{{ . }}</small>
- {{ end }}
- </h1>
- <!-- Post Meta -->
- <div class="flex flex-wrap items-center gap-2">
- <span class="text-secondary">{{ partial "components/date" . }}</span>
- {{ if or .Params.categories .Params.tags }}<span>ยท</span>{{ end }}
- {{ partial "components/category-pill" . }}
- {{ partial "components/tags" . }}
- </div>
- </header>
-
- {{ partial "content" . }}
- {{ partial "posts/webmention" . }}
- <!-- kept for legacy pages -->
- {{ partial "posts/comment" . }}
-
- {{ partial "components/back-to-top" . }}
- {{ partial "components/microformats" . }}
-</article>