refactor(layout): refactor single page layout and partials categorization

This commit is contained in:
Cell
2026-03-25 15:45:32 +08:00
parent 7338930c9f
commit cfa9bef6ac
55 changed files with 566 additions and 430 deletions
+4 -3
View File
@@ -218,9 +218,6 @@
{{- /* Custom block after post footer */ -}}
{{- block "custom-post__footer:after" . }}{{ end -}}
{{- /* Comment */ -}}
{{- partial "single/comment.html" . -}}
</article>
<aside class="toc" id="toc-auto" aria-label="{{ T "single.contents" }}">
@@ -252,3 +249,7 @@
</dialog>
{{- end -}}
{{- end -}}
{{- define "comments" -}}
{{- partial "layout/comment.html" . -}}
{{- end -}}