hugo-labs/layouts/partials/navbar.html
2018-11-05 18:43:17 +01:00

21 lines
814 B
HTML

<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container-fluid">
{{ if .IsTranslated }}
{{ i18n "translations" }}
{{ range .Translations }}
<a href="{{ .RelPermalink }}"><pre>{{ .Site.Language.LanguageName }}</pre></a>
{{ end }}
{{ end }}
<div class="navbar-header">
<button type="button" class="navbar-toggle sidebar-toggle" data-toggle="collapse" data-target=".sidebar">
<span class="sr-only">Toggle sidebar</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
</div>
</div>