15 lines
543 B
HTML
15 lines
543 B
HTML
<nav class="navbar is-info" role="navigation" aria-label="main navigation">
|
|
<div id="navbarBasicExample" class="navbar-menu">
|
|
<div class="navbar-brand">
|
|
<a class="navbar-item" href="/">
|
|
<b>{{ .app.Config.AppName }}</b>
|
|
</a>
|
|
</div>
|
|
{{ if or .user (not .app.AuthSupported) -}}
|
|
{{ template "partials/navbar-modules" . }}
|
|
{{- end }}
|
|
{{ if .app.AuthSupported -}}
|
|
{{ template "partials/navbar-login" . }}
|
|
{{ end }}
|
|
</div>
|
|
</nav>
|