summaryrefslogtreecommitdiff
path: root/layouts/partials/header.html
blob: d9000da33b86b772b9273ca9b4d2c8673cd643ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<div id="site-header">
  <h1>{{ .Site.Params.projectTitle }}</h1>
  <p>{{ .Site.Params.projectDescription }}</p>
  <nav>
    <a href="/" class="{{ if eq .Kind "home"}}active{{ end }}">Home</a>
    {{ if .Site.RegularPages }}<a href="/releases" class="{{ if eq .Type "releases"}}active{{ end }}">Releases</a>{{ end }}
    {{ if .Site.Params.gitURL }}<a href="{{ .Site.Params.gitURL }}">Git</a>{{ end }}
    {{ range .Site.Params.extraNavLinks }}
      <a href="{{ index . 1 }}" target="_blank">{{ index . 0 }}</a>
    {{ end }}
  </nav>
</div>