summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/recursive_nav.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/recursive_nav.html b/layouts/partials/recursive_nav.html
index 4a3ed2c..763c3b6 100644
--- a/layouts/partials/recursive_nav.html
+++ b/layouts/partials/recursive_nav.html
@@ -5,7 +5,7 @@
<li {{ if eq $currentPage . }}class="nav-current"{{ end }}>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>
- {{ if and .Pages $isCurrentOrAncestor }}
+ {{ if .Pages }}
{{ partial "recursive_nav.html" (dict "currentPage" $currentPage "pages" .Pages) }}
{{ end }}
{{ end }}