From fc246e1eef4e343f567c6eaf6f2f983c7fb77654 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 23 Jan 2022 18:06:04 -0800 Subject: layout: drop the div 'main' The div 'main' is not needed, we are creating an element named 'named' in the main block. --- users/fcuny/notes/layouts/_default/baseof.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'users') diff --git a/users/fcuny/notes/layouts/_default/baseof.html b/users/fcuny/notes/layouts/_default/baseof.html index 3fd7011..0c72fb1 100644 --- a/users/fcuny/notes/layouts/_default/baseof.html +++ b/users/fcuny/notes/layouts/_default/baseof.html @@ -2,11 +2,9 @@ {{ partial "head.html" . }} -
- {{- partial "header.html" . -}} -
- {{ block "main" . }}{{ end }} -
-
+ {{- partial "header.html" . -}} +
+ {{ block "main" . }}{{ end }} +
-- cgit 1.4.1