summaryrefslogtreecommitdiff
path: root/layouts/page.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/page.html
parent2698f41d495ca24dc8697d8c64fe066d332d9a4e (diff)
refactor: rename 'single' to 'page'
Diffstat (limited to 'layouts/page.html')
-rw-r--r--layouts/page.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/page.html b/layouts/page.html
new file mode 100644
index 00000000..7f33f13b
--- /dev/null
+++ b/layouts/page.html
@@ -0,0 +1,10 @@
+{{ define "main" }}
+ {{ partial "header.html" . }}
+ <article class="page" id="article">
+ <div id="post-content" class="post-content markdown-body"
+ style="view-transition-name: post-content-{{ .File.UniqueID }}">
+ {{ .Content }}
+ </div>
+ </article>
+ {{ partial "footer.html" . }}
+{{ end }}