aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/index/tabs.html
blob: 477cacbf4169c3bba65549607be27e71c5c55348 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{ if .Site.Params.customTabs }}
  <div class="tabs">
    <div class="contain tabs--inner">
      <a href="#incidents" class="tab tab--current">
        {{ T "incidents" }}
      </a>

      {{ range .Site.Params.customTabs }}
        <a href="{{ .link }}" class="tab tab--other">
          {{ .name }}
        </a>
      {{ end }}
    </div>
  </div>
{{ else }}
  {{ if not .Site.Params.disableIncidentHistory }}
    <div class="contain contain--more">
      <h2 class="center">{{ T "incidentHistory" }}</h2>
      <hr class="clean">
    </div>
  {{ end }}
{{ end }}