From 48fefb76c0a908cc3fa00abc9c090ce3ac8cb560 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sun, 24 Oct 2021 10:40:45 -0700 Subject: gofiber conversion, index, board posts, board post hooked up --- views/layouts/main.html | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 views/layouts/main.html (limited to 'views/layouts/main.html') diff --git a/views/layouts/main.html b/views/layouts/main.html new file mode 100644 index 0000000..4cd48f9 --- /dev/null +++ b/views/layouts/main.html @@ -0,0 +1,50 @@ + + + + + + + + + + {{ if gt (len .page.ThemeCookie) 0 }} + + {{ else }} + + {{ end }} + {{ range .page.Themes }} + + {{ end }} + + {{ template "header" .page }} + + + + {{ if .page.Board.ModCred }} + {{ if eq .page.Board.ModCred .page.Board.Domain .page.Board.Actor.Id }} + [Manage Board] + {{ end }} + {{ end }} + + {{ embed }} + + {{ template "partials/footer" .page }} + + + {{ template "scripts" .page }} + + -- cgit v1.2.3