From 579f96161885465b185966c503427b1172e62968 Mon Sep 17 00:00:00 2001 From: Mantas VilĨinskas Date: Sun, 9 May 2021 13:21:50 +0300 Subject: v5.0.3 --- layouts/404.html | 7 +++++++ layouts/affected/404.html | 21 --------------------- layouts/index.json | 2 +- layouts/partials/js.html | 2 +- layouts/partials/meta.html | 4 +++- 5 files changed, 12 insertions(+), 24 deletions(-) delete mode 100644 layouts/affected/404.html (limited to 'layouts') diff --git a/layouts/404.html b/layouts/404.html index 64ff118..1f8d656 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -12,8 +12,15 @@

{{ T "notFound" }}

+

{{ T "notFoundText" }}

+ + {{ partial "js" . }} {{ partial "footer" . }} diff --git a/layouts/affected/404.html b/layouts/affected/404.html deleted file mode 100644 index 527c280..0000000 --- a/layouts/affected/404.html +++ /dev/null @@ -1,21 +0,0 @@ -{{ partial "meta" . }} - -{{ $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" }} - - - {{ partial "header" . }} - -
-

{{ T "notFoundAffected" }}

-

{{ T "notFoundText" }}

-
- - {{ partial "js" . }} - {{ partial "footer" . }} - - diff --git a/layouts/index.json b/layouts/index.json index c707f5c..35145d5 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.2", + "cStateVersion": "5.0.3", "apiVersion": "2.0", "title": "{{ .Site.Title }}", "languageCodeHTML": "{{ .Site.LanguageCode }}", diff --git a/layouts/partials/js.html b/layouts/partials/js.html index ef9464a..c0c044d 100644 --- a/layouts/partials/js.html +++ b/layouts/partials/js.html @@ -3,7 +3,7 @@ * Dev toolset */ - console.log('cState v5.0.2 - https://github.com/cstate/cstate'); + console.log('cState v5.0.3 - https://github.com/cstate/cstate'); document.getElementsByTagName('html')[0].className = 'js'; /** diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 3fec38c..4a0e923 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 -}} - +