From 7df19c9155123562a6e4236aeb288354688970df Mon Sep 17 00:00:00 2001
From: Mantas VilĨinskas <11616378+mistermantas@users.noreply.github.com>
Date: Thu, 2 Jan 2020 20:39:31 +0200
Subject: Add .Params.headerTextColor for consistent title color
---
layouts/partials/meta.html | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
(limited to 'layouts/partials/meta.html')
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;
--
cgit v1.2.3-70-g09d2
From 81e798fe99fd3909fd662063f20dd21df61fd0c9 Mon Sep 17 00:00:00 2001
From: Mantas VilĨinskas <11616378+mistermantas@users.noreply.github.com>
Date: Thu, 2 Jan 2020 20:59:58 +0200
Subject: 4.0.1
---
layouts/partials/meta.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'layouts/partials/meta.html')
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html
index 3317051..6311441 100644
--- a/layouts/partials/meta.html
+++ b/layouts/partials/meta.html
@@ -12,7 +12,7 @@
{{ range .AlternativeOutputFormats -}}
{{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
-
+