summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index d192e56..d9000da 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -3,7 +3,7 @@
<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.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>