summaryrefslogtreecommitdiff
path: root/layouts/single.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-07-14 19:05:44 +0800
committerEltrac <hi@guhub.cn>2025-07-14 19:05:44 +0800
commit3cb68b6d5231ac9932b521dee767aae19ae1ca60 (patch)
treed19a8819ab59b68498c049b270582c5a30371e9d /layouts/single.html
parent54b306460dd67be4c0f41dee3d8ec5d6014178a7 (diff)
refactor: keep layouts folder structure up to standards
Former-commit-id: 44c7def3f6958550ccf965971f1819c1d6c514f1
Diffstat (limited to 'layouts/single.html')
-rw-r--r--layouts/single.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/single.html b/layouts/single.html
new file mode 100644
index 00000000..7f33f13b
--- /dev/null
+++ b/layouts/single.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 }}