aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/index/tabs.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/index/tabs.html')
-rw-r--r--layouts/partials/index/tabs.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layouts/partials/index/tabs.html b/layouts/partials/index/tabs.html
new file mode 100644
index 0000000..e1fc986
--- /dev/null
+++ b/layouts/partials/index/tabs.html
@@ -0,0 +1,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 }} \ No newline at end of file