From 5b52d269faa2ce2014d0feba603a2122361cf4eb Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Fri, 29 Apr 2022 10:36:43 -0700 Subject: general layout organization --- views/layouts/main.html | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'views/layouts/main.html') diff --git a/views/layouts/main.html b/views/layouts/main.html index 41e3412..74b86e4 100644 --- a/views/layouts/main.html +++ b/views/layouts/main.html @@ -1,12 +1,32 @@ + {{ .page.Title }} + + + + + + + + + + + + + + {{ if not (eq .page.Meta.Preview "") }} + + + {{ end }} + + {{ if gt (len .page.ThemeCookie) 0 }} {{ else }} @@ -15,8 +35,6 @@ {{ range .page.Themes }} {{ end }} - - {{ template "header" .page }}