From eecf2e9a70828088f5d203e8dbba310042f45839 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Wed, 27 Jul 2022 00:34:40 +0100 Subject: [PATCH] Add theme switch. --- index.go.html | 10 ++++++++++ pageHandler/pages/index/index-page.go | 21 +++++++++++++++------ pageHandler/pages/index/template-marshal.go | 1 + 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/index.go.html b/index.go.html index 57aa812..31a19ec 100644 --- a/index.go.html +++ b/index.go.html @@ -15,7 +15,17 @@
+ {{ if .Light }} + + + {{ else }} + {{ if eq .Parameters "" }} + + {{ else }} + + {{ end }} + {{ end }}