diff options
author | Mantas Vilčinskas <hi@mnts.lt> | 2021-07-24 15:41:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-24 15:41:09 +0300 |
commit | 7ba53436608d00d7d08ebf07512642a1c96e1555 (patch) | |
tree | f89a43d3216b17d9d28c175f6089c93987f598d9 /layouts | |
parent | 16db79dfd55787c2d11f13c1f65c56646d9bfe78 (diff) | |
parent | a303c5ad75dd75fcb504233e0325335072e09be3 (diff) |
v5.0.4 #194
Bug fixes
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.json | 2 | ||||
-rw-r--r-- | layouts/issues/small.html | 2 | ||||
-rw-r--r-- | layouts/partials/js.html | 2 | ||||
-rw-r--r-- | layouts/partials/meta.html | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/layouts/index.json b/layouts/index.json index 35145d5..e92c86e 100644 --- a/layouts/index.json +++ b/layouts/index.json @@ -1,6 +1,6 @@ {{ $incidents := where .Site.RegularPages "Params.section" "issue" }}{{ $active := where $incidents "Params.resolved" "=" false }}{{ $isNotice := where $active "Params.severity" "=" "notice" }}{{ $isDisrupted := where $active "Params.severity" "=" "disrupted" }}{{ $isDown := where $active "Params.severity" "=" "down" }}{ "is": "index", - "cStateVersion": "5.0.3", + "cStateVersion": "5.0.4", "apiVersion": "2.0", "title": "{{ .Site.Title }}", "languageCodeHTML": "{{ .Site.LanguageCode }}", diff --git a/layouts/issues/small.html b/layouts/issues/small.html index 531b47b..115d5d0 100644 --- a/layouts/issues/small.html +++ b/layouts/issues/small.html @@ -23,7 +23,7 @@ </span> {{ else if .Params.Resolved }} - <small class="date float-right {{ cond .Site.Params.useRelativeTime "relative-time" "" }}" title="{{ .Date.Format "Jan 2 15:04:05 2006" }}"> + <small class="date float-right {{ cond .Site.Params.useRelativeTime "relative-time" "" }}" title="{{ .Date.Format "Jan 2 15:04:05 2006 UTC" }}"> {{ if .Site.Params.dateFormat }} {{ .Date.Format .Site.Params.dateFormat }} {{ else }} diff --git a/layouts/partials/js.html b/layouts/partials/js.html index c0c044d..954461b 100644 --- a/layouts/partials/js.html +++ b/layouts/partials/js.html @@ -3,7 +3,7 @@ * Dev toolset */ - console.log('cState v5.0.3 - https://github.com/cstate/cstate'); + console.log('cState v5.0.4 - https://github.com/cstate/cstate'); document.getElementsByTagName('html')[0].className = 'js'; /** diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 4a0e923..4ac0c54 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 .Summary }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}"> + <meta name="description" content="{{ with .Summary }}{{ . }}{{ else }}{{ .Site.Params.description | markdownify | plainify }}{{ 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 v5.0.3 - https://github.com/cstate/cstate"> + <meta name="generator" content="cState v5.0.4 - https://github.com/cstate/cstate"> <meta name="theme-color" content="{{ .Site.Params.brand }}"> <script> var themeBrandColor = '{{ .Site.Params.brand }}'; |