diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..d192e56 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,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> + <a href="/releases" class="{{ if eq .Type "releases"}}active{{ end }}">Releases</a> + {{ 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> |