diff options
author | Mantas <11616378+mistermantas@users.noreply.github.com> | 2019-01-25 16:53:51 +0200 |
---|---|---|
committer | Mantas <11616378+mistermantas@users.noreply.github.com> | 2019-01-25 16:53:51 +0200 |
commit | 290aa0df0204038b8c7b23c28d716755e468f169 (patch) | |
tree | f550e674805b3cc42b4b0c74ea7d78a8c59aca77 /layouts/partials/index/tabs.html | |
parent | 6a1fbad426c29b4f3fe4f6fa4d240735d5432b50 (diff) |
fix #42, #51; v4-dev1 begins
Diffstat (limited to 'layouts/partials/index/tabs.html')
-rw-r--r-- | layouts/partials/index/tabs.html | 20 |
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 |