diff --git a/layouts/partials/sidebar-tree.html b/layouts/partials/sidebar-tree.html index 37420c55f5..5e909e778f 100644 --- a/layouts/partials/sidebar-tree.html +++ b/layouts/partials/sidebar-tree.html @@ -30,7 +30,7 @@ {{ $sidebarMenuTruncate := cond (isset .Site.Params.ui "sidebar_menu_truncate") .Site.Params.ui.sidebar_menu_truncate 50 }} {{ $currentLang := .Site.Language }}
@@ -57,7 +57,9 @@ {{ else }} - {{ with $s.Params.Icon}}{{ end }} + {{ if not $treeRoot }} + {{ with $s.Params.Icon}}{{ end }} + {{ end }} {{ end }} {{if $withChild }} {{ $ulNr := add $ulNr 1 }}