focalboard/website/site/layouts/partials/nav.html

25 lines
875 B
HTML
Raw Normal View History

2021-01-07 23:12:26 +01:00
{{ partial "notification.html" . }}
{{ if .Site.Params.notification.enable }}
<header class="with-notification-bar">
{{ else }}
<header>
{{ end }}
2021-01-11 20:33:53 +01:00
<a href="/"><img src="img/logo.svg" class="logo__colored" alt="Logo" width="212px"></a>
<a href="/"><img src="img/logo-white.svg" class="logo__white" alt="Logo" width="212px"></a>
2021-01-07 23:12:26 +01:00
<div class="header__menu-toggle">
<i class="fa fa-bars"></i>
</div>
<ul class="header__links--right">
<li class="active"><a href="/">Home</a></li>
{{ range .Site.Menus.postpend }}
{{ $drafts := index $.Site.Params.navigation.drafts 0}}
{{ $draft := index $drafts .Name }}
{{ if or (eq $.Site.BuildDrafts true) (eq $draft false) }}
<li><a class="external" href="{{ .URL }}">{{ .Name }}</a></li>
{{ end }}
{{ end }}
</ul>
</header>