From 9f2097f3f027ed0abde9059cbf98b4bbb2d09510 Mon Sep 17 00:00:00 2001 From: panr Date: Sun, 6 Sep 2020 00:52:40 +0200 Subject: [PATCH] Fix head partial. --- layouts/partials/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b0e5e00..238c4b4 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -11,7 +11,7 @@ {{ if (isset .Params "color") }} -{{ else if (ne $.Site.Params.ThemeColor "orange") }} +{{ else if and (ne $.Site.Params.ThemeColor "orange") (ne $.Site.Params.ThemeColor "color" "") }} {{ end }} @@ -25,7 +25,7 @@ {{ if isset $.Site.Params "favicon" }} {{ else }} - + {{ end }}