aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorMantas Vilčinskas <11616378+mistermantas@users.noreply.github.com>2020-01-02 21:06:00 +0200
committerGitHub <noreply@github.com>2020-01-02 21:06:00 +0200
commitf55cffc137c01ccf1543d0b956d64c428be78405 (patch)
tree00c5f514244b25dec79c92fadf18d3bef6f52483 /layouts
parenta8f60c31b75fe5a3c91a6595585738523f1cad25 (diff)
parent8dccaed582abc196d426687f73efd34135da0b83 (diff)
v4.0.1
Add .Params.headerTextColor for consistent title color - v4.0.1
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.json4
-rw-r--r--layouts/partials/js.html2
-rw-r--r--layouts/partials/meta.html10
3 files changed, 11 insertions, 5 deletions
diff --git a/layouts/index.json b/layouts/index.json
index 3a2c299..ce40383 100644
--- a/layouts/index.json
+++ b/layouts/index.json
@@ -5,7 +5,7 @@
{{ $isDown := where $active "Params.severity" "=" "down" }}
{
"is": "index",
- "cStateVersion": "4.0.0",
+ "cStateVersion": "4.0.1",
"apiVersion": "1.0.0",
"title": "{{ .Site.Title }}",
"languageCodeHTML": "{{ .Site.LanguageCode }}",
@@ -56,4 +56,4 @@
"alwaysKeepBrandColor": "{{ .Site.Params.alwaysKeepBrandColor }}",
"googleAnalytics": "{{ .Site.Params.googleAnalytics }}"
-} \ No newline at end of file
+}
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';
/**
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html
index 9389c54..6311441 100644
--- a/layouts/partials/meta.html
+++ b/layouts/partials/meta.html
@@ -12,7 +12,7 @@
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
- <meta name="generator" content="cState v4.0.0 - https://github.com/cstate/cstate">
+ <meta name="generator" content="cState v4.0.1 - https://github.com/cstate/cstate">
<meta name="theme-color" content="{{ .Site.Params.brand }}">
<script>
var themeBrandColor = '{{ .Site.Params.brand }}';
@@ -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;