fix empty sidelist when modifying doc
This commit is contained in:
parent
f5b7ee0a93
commit
6a834ae6b8
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
{{ $currentNode := . }}
|
||||
<a class="d-block h4 back-btn" href="{{ .Site.BaseURL | relLangURL }}">{{ i18n "Back-home"}}</a>
|
||||
{{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 }}
|
||||
|
|
Loading…
Reference in a new issue