From ebf28f08194e295dde7cdb61f75c107a614a64f1 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 19 Dec 2023 23:27:48 +0100 Subject: Update defaults --- layouts/_default/list.html | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'layouts/_default/list.html') diff --git a/layouts/_default/list.html b/layouts/_default/list.html index b6a63be..601fc08 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,11 +1,20 @@ -{{ partial "header.html" . -}} -

{{ .Title | title }}

-
-{{ .Content -}} +{{ define "title" -}} +{{ .Title | title }} +{{- end }} +{{ define "main" -}} +{{ .Content }} -
-{{- partial "footer.html" . }} +{{- end }} -- cgit v1.2.3-70-g09d2