Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/_menu.html')
-rw-r--r--layouts/partials/_menu.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/_menu.html b/layouts/partials/_menu.html
index f791567..658274e 100644
--- a/layouts/partials/_menu.html
+++ b/layouts/partials/_menu.html
@@ -21,7 +21,7 @@
{{- with .sect}}
{{- if and .IsSection (or (not .Params.hidden) $.showhidden)}}
{{- $numberOfPages := (len .Sections) }}
- {{- $numberOfPages := (len (where .Sections "Params.subpage" "ne" "true")) }}
+ {{- $numberOfPages := (len (where .Sections "Params.subpage" "ne" true)) }}
{{- safeHTML .Params.head}}
<li data-nav-id="{{.Permalink}}" class="dd-item
{{- if .IsAncestor $currentNode}} parent{{end}}