From 34933e0b82dfc126821efdb47492e4385675c14f Mon Sep 17 00:00:00 2001 From: tomleb Date: Thu, 11 May 2017 17:58:41 -0400 Subject: [PATCH] Use template for night theme switcher inline js --- templates/_night_theme.html | 14 ++++++++++++++ templates/admin_index.html | 13 +------------ templates/index.html | 13 +------------ 3 files changed, 16 insertions(+), 24 deletions(-) create mode 100644 templates/_night_theme.html diff --git a/templates/_night_theme.html b/templates/_night_theme.html new file mode 100644 index 00000000..c06a0b58 --- /dev/null +++ b/templates/_night_theme.html @@ -0,0 +1,14 @@ +{{define "night_theme_init"}} + +{{end}} diff --git a/templates/admin_index.html b/templates/admin_index.html index 11cb46c6..0405473e 100644 --- a/templates/admin_index.html +++ b/templates/admin_index.html @@ -26,18 +26,7 @@ - + {{block "night_theme_init" .}}{{end}}