From: XhmikosR Date: Fri, 17 Apr 2020 16:47:19 +0000 (+0300) Subject: Improve docs-sidebar.html (#30567) X-Git-Tag: v5.0.0-alpha1~222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2325b65c88a27568accf606442c9d1d2204c05b;p=thirdparty%2Fbootstrap.git Improve docs-sidebar.html (#30567) Reduce the output HTML --- diff --git a/site/layouts/partials/docs-sidebar.html b/site/layouts/partials/docs-sidebar.html index 9af562340d..23e9bbad36 100644 --- a/site/layouts/partials/docs-sidebar.html +++ b/site/layouts/partials/docs-sidebar.html @@ -13,22 +13,20 @@ {{- end -}} {{- $group_slug := $group.title | urlize -}} - {{- $active_group := eq $.Page.Params.group $group_slug }} + {{- $is_active_group := eq $.Page.Params.group $group_slug }} -
  • - +
  • + {{ $group.title }} {{- if $group.pages }} -