Feat: add unified custom template entry file layouts/partials/custom.html

This commit is contained in:
Cell
2024-05-09 15:44:57 +08:00
parent f32402dcdf
commit eb0acca980
7 changed files with 47 additions and 5 deletions
+5 -1
View File
@@ -12,8 +12,12 @@
<aside class="aside-collection animate__animated animate__fadeIn animate__faster" aria-label="{{ T "collections" }}">
{{- /* Collection List */ -}}
{{- partial "single/collection-list.html" . -}}
{{- /* Custom part for aside */ -}}
{{- /* TODO remove Custom part for aside */ -}}
{{- partial (.Scratch.Get "customFilePath").aside . -}}
{{- /* Custom Aside */ -}}
{{- block "custom-aside" . }}{{ end -}}
</aside>
<article class="page single">