From 55ecab244a52ee6bcd59ebff77f715169b12727e Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Wed, 2 Nov 2022 22:58:20 +0000 Subject: [PATCH] remove redundant filtering in side bar --- layouts/partials/sidebar-tree.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/layouts/partials/sidebar-tree.html b/layouts/partials/sidebar-tree.html index 17c181cc..3589868e 100644 --- a/layouts/partials/sidebar-tree.html +++ b/layouts/partials/sidebar-tree.html @@ -6,8 +6,6 @@ * include `div#toc` for the ToC * start the sidebar at the root (homepage) since for us that is the Matrix overview page - * omit module pages, which we don't want to be directly accessible - (we only use them as raw material for the client-server spec) */}} @@ -41,7 +39,6 @@
  • {{ $s.LinkTitle }} {{ $pages := where (union $s.Pages $s.Sections).ByWeight ".Params.toc_hide" "!=" true }} - {{ $pages = where $pages "Type" "!=" "module"}} {{ $pages := $pages | first 50 }} {{ if gt (len $pages) 0 }}