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(-)
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 9df72c3839fdd2f47406387a1f2027511f7e3c25 Mon Sep 17 00:00:00 2001
From: Mantas Vilčinskas <11616378+mistermantas@users.noreply.github.com>
Date: Thu, 2 Jan 2020 20:55:57 +0200
Subject: v4.0.1
---
exampleSite/config.yml | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/exampleSite/config.yml b/exampleSite/config.yml
index 3e474b1..b384501 100644
--- a/exampleSite/config.yml
+++ b/exampleSite/config.yml
@@ -183,7 +183,7 @@ params:
# most of the interface to ensure
# a good user experience.
#
- # Default: false
+ # Default: `false`
# BOOLEAN; `true`, `false`
disableDarkMode: false
@@ -261,9 +261,23 @@ params:
# and use the status indication
# colors that were just defined?
#
- # Default: true
+ # Default: `true`
# BOOLEAN; `true`, `false`
alwaysKeepBrandColor: true
+
+ # Introduced in v4.0.1 for consistent
+ # site title text color.
+ #
+ # If you do not use the logo, what color
+ # should the site text color be?
+ #
+ # Removing this option will not force
+ # any site text color. This is likely
+ # unwanted behavior.
+ #
+ # Default: `white`
+ # STRING; `white`, `black`, or nothing
+ headerTextColor: white
# Google Analytics tracking code
#
--
cgit v1.2.3-70-g09d2
From 7c1fd10c605665dc4566645b01edfce0e91d173b Mon Sep 17 00:00:00 2001
From: Mantas Vilčinskas <11616378+mistermantas@users.noreply.github.com>
Date: Thu, 2 Jan 2020 20:58:59 +0200
Subject: Update js.html
---
layouts/partials/js.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/partials/js.html b/layouts/partials/js.html
index ffdced4..19e4a05 100644
--- a/layouts/partials/js.html
+++ b/layouts/partials/js.html
@@ -3,7 +3,7 @@
* Dev toolset
*/
- console.log('cState v4.0.0 - https://github.com/cstate/cstate');
+ console.log('cState v4.0.1 - https://github.com/cstate/cstate');
document.getElementsByTagName('html')[0].className = 'js';
/**
--
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(-)
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 -}}
-
+