From fd1b8f3f116c2e47aec7bded999fe1d9339eb1a2 Mon Sep 17 00:00:00 2001 From: H3ALY Date: Tue, 25 Mar 2025 22:28:41 +0000 Subject: [PATCH] Minor changes to layout --- templates/layout.html | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/templates/layout.html b/templates/layout.html index 98915b8..5a94285 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -3,26 +3,31 @@ - {{ if .User }} -

Hello, {{ .User.Username }} | Logout

-{{ else }} -

Login

-{{ end }} - Lotto Tracker + SynLotto - Logout -

Lotto Tracker

+
+ {{ if .User }} +

Hello, {{ .User.Username }} | Logout

+ {{ else }} +

Login

+ {{ end }} +
+ + {{ if .Flash }} +
{{ .Flash }}
+ {{ end }} {{ template "content" . }} - {{ end }}