aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/meta.html
diff options
context:
space:
mode:
authorMantas Vilčinskas <11616378+mistermantas@users.noreply.github.com>2020-01-02 20:39:31 +0200
committerGitHub <noreply@github.com>2020-01-02 20:39:31 +0200
commit7df19c9155123562a6e4236aeb288354688970df (patch)
treeacc5e879675112f36dcf0de8242adfe04964abd6 /layouts/partials/meta.html
parenta8f60c31b75fe5a3c91a6595585738523f1cad25 (diff)
Add .Params.headerTextColor for consistent title color
Diffstat (limited to 'layouts/partials/meta.html')
-rw-r--r--layouts/partials/meta.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html
index 9389c54..3317051 100644
--- a/layouts/partials/meta.html
+++ b/layouts/partials/meta.html
@@ -165,7 +165,13 @@
font-size: 14px;
font-variant: small-caps;
}
-
+
+ {{ if eq .Params.headerTextColor "black" }}
+ .header a h1 { color: #000; }
+ {{ else if eq .Params.headerTextColor "white" }}
+ .header a h1 { color: #fff; }
+ {{ end }}
+
.header__logo img {
height: auto;
width: 320px;