website/themes/datacoop2020/layouts/partials/nav.html
Benjamin Bach 86b7972501
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
Styling for fixed sidebars - TODO: responsiveness
2020-05-18 10:01:35 +02:00

24 lines
546 B
HTML

<nav class="datacoop-navbar">
<a href="/" class="data-coop-sidebar-logo">
<img src="{{ printf "/static/img/logo.svg" | absURL }}">
{{ (i18n "tagline") | safeHTML }}
</a>
<div class="datacoop-menulists">
<ul>
{{ range .Site.Menus.nav }}
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
{{ end }}
</ul>
<ul class="datacoop-langchooser">
{{ range $.Site.Home.AllTranslations }}
<li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
{{ end }}
</ul>
</div>
</nav>