hugo-labs/layouts/partials/navbar.html
2018-10-30 19:00:26 +01:00

27 lines
861 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 }}">{{ .Site.Language.LanguageName }}</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>
</form>
</div>
</div>
</div>
</div>