From 10c87cb88a1ae34a4d13c00ce05e56414b4cdfea Mon Sep 17 00:00:00 2001 From: Chris Pickel Date: Thu, 6 Jul 2023 14:37:23 +0900 Subject: [PATCH 1/3] Add meta theme-color --- theme/templates/base.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/theme/templates/base.html b/theme/templates/base.html index 4ce757e..9400929 100644 --- a/theme/templates/base.html +++ b/theme/templates/base.html @@ -1,8 +1,13 @@ {% set root = output_file.split('/')[0].split('.')[0] %} -{% if root in ["antares", "plugins"] %} +{% if root == "antares" %} {% set favicon = root %} + {% set theme_color = "#396039" %} +{% elif root == "plugins" %} + {% set favicon = root %} + {% set theme_color = "#1d558d" %} {% else %} {% set favicon = "favicon" %} + {% set theme_color = "#8d1d1d" %} {% endif %} @@ -18,6 +23,7 @@ +