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

25 lines
937 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">
2021-03-18 13:31:26 +01:00
<li><a href="https://github.com/mattermost/focalboard" target='_blank'>View Source</a></li>
2021-01-07 23:12:26 +01:00
{{ range .Site.Menus.postpend }}
{{ $drafts := index $.Site.Params.navigation.drafts 0}}
{{ $draft := index $drafts .Name }}
{{ if or (eq $.Site.BuildDrafts true) (eq $draft false) }}
2021-01-27 20:00:31 +01:00
<li><a class="external" rel="noopener" href="{{ .URL }}">{{ .Name }}</a></li>
2021-01-07 23:12:26 +01:00
{{ end }}
{{ end }}
</ul>
</header>