aboutsummaryrefslogtreecommitdiff
path: root/layouts/affected
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2021-05-09 13:21:50 +0300
committerGitHub <noreply@github.com>2021-05-09 13:21:50 +0300
commit579f96161885465b185966c503427b1172e62968 (patch)
tree04a4a5e1f5eddc7d7db4ec3f61b6602fe73d1513 /layouts/affected
parenta84bc7f2d9886611988201e5544ba43613424246 (diff)
v5.0.3
Diffstat (limited to 'layouts/affected')
-rw-r--r--layouts/affected/404.html21
1 files changed, 0 insertions, 21 deletions
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" }}
-
- <body class="status-homepage status-{{ if $isDown }}down{{ else }}{{ if $isDisrupted}}disrupted{{ else }}{{ if $isNotice }}notice{{ else }}ok{{ end }}{{ end }}{{ end }} {{ if not .Site.Params.alwaysKeepBrandColor }}change-header-color{{ end }}">
- {{ partial "header" . }}
-
- <div class="contain center">
- <h1 class="bold">{{ T "notFoundAffected" }}</h1>
- <p>{{ T "notFoundText" }}</p>
- </div>
-
- {{ partial "js" . }}
- {{ partial "footer" . }}
- </body>
-</html>