camp-homepage/themes/infinity-hugo/layouts/partials/navigation.html

61 lines
2.9 KiB
HTML
Raw Normal View History

2020-07-06 22:09:52 +02:00
<div class="container">
<nav class="navbar navbar-fixed-top navigation " id="top-nav">
<a class="navbar-brand float-none float-lg-left" href="{{ .Site.BaseURL }}">
{{ with .Site.Params.navigation.logo }}
<img src="{{ . }}" alt="logo">
{{ end }}
</a>
<button class="navbar-toggler hidden-lg-up float-lg-right" type="button" data-toggle="collapse" data-target="#navbarResponsive">
<i class="tf-ion-android-menu"></i>
</button>
<div class="collapse navbar-toggleable-md" id="navbarResponsive">
<ul class="nav navbar-nav menu float-lg-right" id="top-nav">
<li class="nav-item active">
<a class="nav-link" href="{{ .Site.BaseURL }}#{{ i18n "home" | urlize }}">
{{ with .Site.Params.navigation.home }} {{ . }} {{ end }}
</a>
</li>
2022-04-15 19:36:26 +02:00
{{ if .Site.Params.news.enable }}
<li class="nav-item">
<a class="nav-link" href="{{ .Site.BaseURL }}#{{ i18n "news" | urlize }}">
{{ with .Site.Params.navigation.news }} {{ . }} {{ end }}
</a>
</li>
{{ end }}
2020-07-06 22:09:52 +02:00
{{ if .Site.Params.about.enable }}
<li class="nav-item">
<a class="nav-link" href="{{ .Site.BaseURL }}#{{ i18n "about" | urlize }}">
{{ with .Site.Params.navigation.about }} {{ . }} {{ end }}
</a>
</li>
{{ end }}
{{ if .Site.Params.service.enable }}
<li class="nav-item">
<a class="nav-link" href="{{ .Site.BaseURL }}#{{ i18n "service" | urlize }}">
{{ with .Site.Params.navigation.service }} {{ . }} {{ end }}
</a>
</li>
{{ end }}
{{ if .Site.Params.contact.enable }}
<li class="nav-item">
<a class="nav-link" href="{{ .Site.BaseURL }}#{{ i18n "contact" | urlize }}">
{{ with .Site.Params.navigation.contact }} {{ . }} {{ end }}
</a>
</li>
{{ end }}
2021-08-03 22:40:43 +02:00
<li class="nav-item">
2022-03-14 23:27:12 +01:00
<a class="nav-link" href="https://vviki.vvoid.camp" role="button">
2022-02-04 22:23:29 +01:00
VViki
2020-08-14 22:09:13 +02:00
</a>
2021-08-03 22:40:43 +02:00
</li>
2023-02-03 19:29:12 +01:00
{{ if .Site.Params.pretix.enable }}
<li class="nav-item">
<a class="btn btn-tickets" href="https://tickets.vvoid.camp" role="button">
Tickets
</a>
</li>
{{ end }}
2020-07-06 22:09:52 +02:00
</ul>
</div>
</nav>
</div>