diff --git a/layouts/partials/default.html b/layouts/partials/default.html
index a694de3..db653b5 100644
--- a/layouts/partials/default.html
+++ b/layouts/partials/default.html
@@ -8,7 +8,7 @@
{{ $currentNode := . }}
{{ i18n "Back-home"}}
{{range .Site.Home.Sections.ByWeight}}
- {{ if eq . $currentNode.FirstSection }} {{/* print current section only */}}
+ {{ if eq .FirstSection $currentNode.FirstSection }} {{/* print current section only */}}
{{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode}}
{{ end }}
{{ end }}