Skip to content

Commit a6ed49b

Browse files
committed
remove 'Tools Included' from sidebar of translated page
1 parent 36bd261 commit a6ed49b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/sidebar-tree.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
{{ range . }}
7070
{{ with (where $.section.Translations ".Lang" . ) -}}
7171
{{ $p := index . 0 -}}
72-
{{ $pages = $pages | lang.Merge (union $p.Pages $p.Sections) -}}
72+
{{ $pages = where ( $pages | lang.Merge (union $p.Pages $p.Sections)) ".Params.toc_hide" "!=" true -}}
7373
{{ end -}}
7474
{{ end -}}
7575
{{ end -}}

0 commit comments

Comments
 (0)