blob: 1f8d656ab1203685232360de5448e7c33926d2f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{{ 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 "notFound" }}</h1>
<p class="affected-text hidden">{{ T "notFoundAffected" }}</p>
<p>{{ T "notFoundText" }}</p>
</div>
<script>
if (window.location.pathname.includes('affected')) {
document.querySelector('.affected-text').className = "affected-text";
}
</script>
{{ partial "js" . }}
{{ partial "footer" . }}
</body>
</html>
|