summaryrefslogtreecommitdiff
path: root/layouts/posts/single.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-07-14 19:26:28 +0800
committerEltrac <hi@guhub.cn>2025-07-14 19:26:28 +0800
commit29af8b6c2bd89c1966512b4305af345b8ee1ef82 (patch)
tree07a4801791db7d6a4670d53411f0689ec0090bfe /layouts/posts/single.html
parent44c7def3f6958550ccf965971f1819c1d6c514f1 (diff)
refactor: clearer division of each partial and better folder structure
Diffstat (limited to 'layouts/posts/single.html')
-rw-r--r--layouts/posts/single.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 94f9be6f..bdb0f617 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -6,7 +6,7 @@
style="view-transition-name: post-{{ .File.UniqueID }}"
class="post-header"
>
- {{ partial "components/banner.html" . }}
+ {{ partial "posts/banner" . }}
<!-- Title and Subtitle -->
<h1 class="post-title">
<span data-pagefind-meta="title">{{ .Title }}</span>
@@ -27,16 +27,16 @@
<div class="post-content markdown-body"
style="view-transition-name: post-content-{{ .File.UniqueID }}">
<!-- TOC -->
- {{ partial "components/toc" . }}
+ {{ partial "posts/toc" . }}
<!-- Content -->
<div id="post-content">
{{ .Content }}
</div>
<!-- Endnotes -->
- {{ partial "components/endnotes" . }}
+ {{ partial "posts/endnotes" . }}
</div>
- {{ partial "components/post-tabs.html" . }}
- {{ partial "components/now-read-this.html" . }}
+ {{ partial "posts/action-menu.html" . }}
+ {{ partial "posts/now-read-this.html" . }}
</article>
{{ end }}