aboutsummaryrefslogtreecommitdiff
path: root/layouts/404.html
blob: 64ff118f2e8cfa1f5320975dd073d7d96c32760d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{ 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>{{ T "notFoundText" }}</p>
    </div>

    {{ partial "js" . }}
    {{ partial "footer" . }}
  </body>
</html>