summaryrefslogtreecommitdiffstats
path: root/_build/themes/ninenines/layouts/partials/header.html
diff options
context:
space:
mode:
Diffstat (limited to '_build/themes/ninenines/layouts/partials/header.html')
-rw-r--r--_build/themes/ninenines/layouts/partials/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_build/themes/ninenines/layouts/partials/header.html b/_build/themes/ninenines/layouts/partials/header.html
index cff35bcc..314af2e9 100644
--- a/_build/themes/ninenines/layouts/partials/header.html
+++ b/_build/themes/ninenines/layouts/partials/header.html
@@ -15,7 +15,7 @@
<div id="side-header">
<nav>
<ul>
- <li{{ if or (eq .URL "/articles/") (eq .Section "articles") }} class="active"{{ end }}><a title="Hear my thoughts" href="/articles">Articles</a></li>
+ <li{{ if or (eq .Page.RelPermalink "/articles/") (eq .Section "articles") }} class="active"{{ end }}><a title="Hear my thoughts" href="/articles">Articles</a></li>
<li{{ if .IsPage }}{{ if eq .Type "talks" }} class="active"{{ end }}{{ end }}><a title="Watch my talks" href="/talks">Talks</a></li>
<li{{ if .IsPage }}{{ if or (eq .Type "docs-index") (eq .Section "docs") }} class="active"{{ end }}{{ end }}><a title="Read the docs" href="/docs">Documentation</a></li>
<li{{ if .IsPage }}{{ if eq .Type "services" }} class="active"{{ end }}{{ end }}><a title="Request my services" href="/services">Consulting & Training</a></li>