File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 18
18
< li >
19
19
< ul class ="sidebar-categories list-style-none ">
20
20
{% for childPage in currentProductTree.childPages %}
21
+ {% unless childPage.page.hidden %}
21
22
{% if childPage.page.documentType == "article" %}{% assign standaloneCategory = true %}{% else %}{% assign standaloneCategory = false %}{% endif %}
22
23
< li class ="sidebar-category py-1 {% if currentPath contains childPage.href %}active {% if currentPath == childPage.href %}is-current-page {% endif %}{% endif %}{% if standaloneCategory %}standalone-category{% endif %} ">
23
24
{% if childPage.renderedShortTitle %}{% assign childTitle = childPage.renderedShortTitle %}{% else %}{% assign childTitle = childPage.renderedFullTitle %}{% endif %}
67
68
{% endif %}
68
69
</ details >
69
70
</ li >
71
+ {% endunless %}
70
72
{% endfor %}
71
73
</ ul >
72
74
</ li >
You can’t perform that action at this time.
0 commit comments