aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorMantas <11616378+mistermantas@users.noreply.github.com>2019-01-25 18:14:35 +0200
committerMantas <11616378+mistermantas@users.noreply.github.com>2019-01-25 18:14:35 +0200
commit5f364a5ef49c6ace597399442ba3556be2cfee89 (patch)
treef3bcbbb1200663ad5f9803c0ffbd66bb3e4d7a2e /layouts/partials
parent290aa0df0204038b8c7b23c28d716755e468f169 (diff)
Misc. changes
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/js.html2
-rw-r--r--layouts/partials/meta.html18
3 files changed, 10 insertions, 12 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 2dcea70..6187f61 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -4,7 +4,7 @@
<div class="footer">
<div class="contain">
- <p><strong class="bold">{{ now.Year }} &copy; {{ .Site.Title }}</strong>
+ <p><strong class="bold">&copy; {{ .Site.Title }}, {{ now.Year }}</strong>
&nbsp; • &nbsp; <a href="#">{{ T "backToTop" }}</a>
</p>
diff --git a/layouts/partials/js.html b/layouts/partials/js.html
index af3bb80..1dd36fd 100644
--- a/layouts/partials/js.html
+++ b/layouts/partials/js.html
@@ -3,7 +3,7 @@
* Dev toolset
*/
- console.log('cState v3.0.0 - Stable 2019-01-24 - https://github.com/cstate/cstate');
+ console.log('cState v3.1.0 - dev - https://github.com/cstate/cstate');
document.getElementsByTagName('html')[0].className = 'js';
/**
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html
index df6b8d0..e2a5056 100644
--- a/layouts/partials/meta.html
+++ b/layouts/partials/meta.html
@@ -6,13 +6,13 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Data -->
- <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
- <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} — {{ end }}{{ .Site.Title }}{{ end }}</title>
+ <meta name="description" content="{{ with .Summary }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}">
+ <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} | {{ end }}{{ .Site.Title }}{{ end }}</title>
<link rel="canonical" href="{{ .Permalink }}">
{{ 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 v3.0.0 - Stable 2019-01-24">
+ <meta name="generator" content="cState v3.1.0 - dev">
<meta name="theme-color" content="#{{ .Site.Params.brand }}">
<script>
var themeBrandColor = '#{{ .Site.Params.brand }}';
@@ -100,8 +100,8 @@
.headline { font-size: 20px; }
.bold { color: #000; }
- .hinted { color: #777; }
- .faded { color: #999; }
+ .hinted { color: #737373; }
+ .faded { color: #737373; }
.clean { margin: 0; }
@@ -299,14 +299,12 @@
padding: 16px;
}
- .status-ok .announcement-box { border: 2px solid #{{ .Site.Params.ok }}; }
.status-disrupted .announcement-box { border: 2px solid #{{ .Site.Params.disrupted }}; }
.status-down .announcement-box { border: 2px solid #{{ .Site.Params.down }}; }
.status-notice .announcement-box { border: 2px solid #{{ .Site.Params.notice }}; }
-
-
- .status-ok .status-homepage .announcement-box { border-bottom-width: 1px; }
-
+ .status-disrupted .announcement-box,
+ .status-down .announcement-box,
+ .status-notice .announcement-box { border-top: 0; }
/**
* Dynamically show individual component statuses