aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/index/tabs.html
blob: e1fc986a8055ddcfbcabcc2163ea4aff2f994b87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{{ 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 }}
  <div class="contain contain--more">
    <h2 class="center">{{ T "incidentHistory" }}</h2>
    <hr class="clean">
  </div>
{{ end }}