From 37b996572636df60dbd99265d7956625fc03b5cc Mon Sep 17 00:00:00 2001 From: Eltrac Date: Thu, 27 Mar 2025 11:43:44 +0800 Subject: refactor: use define "main" to replace start/end partials Former-commit-id: 6576dc46469cdf1fb25cedf2699fe4ba7002a5ef --- layouts/_default/section.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/_default/section.html') diff --git a/layouts/_default/section.html b/layouts/_default/section.html index de06b2aa..8a458078 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -1,4 +1,4 @@ -{{ partial "snippets/document-start.html" . }} +{{ define "main" }}
{{ partial "components/breadcrumbs.html" . }}
@@ -58,4 +58,4 @@ {{ end }}
-{{ partial "snippets/document-end.html" . }} +{{ end }} -- cgit v1.2.3