summaryrefslogtreecommitdiff
path: root/layouts/posts/single.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-07-14 19:54:29 +0800
committerEltrac <hi@guhub.cn>2025-07-14 19:54:29 +0800
commit614a754c724c8fe2baaa25d2eb03ae5bf041ba72 (patch)
treefd9d7c8d655a656aea6b80bb9f79f9475c06ac90 /layouts/posts/single.html
parent2698f41d495ca24dc8697d8c64fe066d332d9a4e (diff)
refactor: rename 'single' to 'page'
Diffstat (limited to 'layouts/posts/single.html')
-rw-r--r--layouts/posts/single.html42
1 files changed, 0 insertions, 42 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
deleted file mode 100644
index bdb0f617..00000000
--- a/layouts/posts/single.html
+++ /dev/null
@@ -1,42 +0,0 @@
-{{ define "main" }}
- {{ partial "components/post-page-header.html" . }}
- <article class="post" id="article">
- <!-- Post Header -->
- <header
- style="view-transition-name: post-{{ .File.UniqueID }}"
- class="post-header"
- >
- {{ partial "posts/banner" . }}
- <!-- Title and Subtitle -->
- <h1 class="post-title">
- <span data-pagefind-meta="title">{{ .Title }}</span>
- {{ with .Params.subtitle }}
- <small class="post-subtitle">{{ . }}</small>
- {{ end }}
- </h1>
- <!-- Post Meta -->
- <div class="post-meta">
- {{ partial "components/date" . }}
- {{ if or .Params.categories .Params.tags }}<span>ยท</span>{{ end }}
- {{ partial "components/category-pill" . }}
- {{ partial "components/tags" . }}
- </div>
- </header>
-
- <!-- Post Content -->
- <div class="post-content markdown-body"
- style="view-transition-name: post-content-{{ .File.UniqueID }}">
- <!-- TOC -->
- {{ partial "posts/toc" . }}
- <!-- Content -->
- <div id="post-content">
- {{ .Content }}
- </div>
- <!-- Endnotes -->
- {{ partial "posts/endnotes" . }}
- </div>
-
- {{ partial "posts/action-menu.html" . }}
- {{ partial "posts/now-read-this.html" . }}
- </article>
-{{ end }}