From ae705282e6771b31fa953186e5de842695d11253 Mon Sep 17 00:00:00 2001 From: eltrac Date: Mon, 23 Mar 2026 15:55:08 +0800 Subject: refactor: move recurring elements to baseof.*.html recurring elements: header, footer and home-nav --- layouts/article/section.html | 4 ---- 1 file changed, 4 deletions(-) (limited to 'layouts/article/section.html') diff --git a/layouts/article/section.html b/layouts/article/section.html index b56b30eb..5072f416 100644 --- a/layouts/article/section.html +++ b/layouts/article/section.html @@ -1,11 +1,8 @@ {{ define "main" }} - {{ $pages := .Pages }} {{ $categories := slice }}
- {{ partial "header.html" . }} - {{ partial "home/home-nav" . }}
{{ .Content }}
@@ -38,5 +35,4 @@ {{ end }}
- {{ partial "footer.html" . }} {{ end }} -- cgit v1.2.3