[hotfix] sidebar.html
This commit is contained in:
parent
ceb862a0cf
commit
a81fad376e
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<div class="sidebar-items">
|
||||
{%- for child in children -%}
|
||||
<div class="sidebar-item">
|
||||
<a href="{{ child.name }}" class="no-decoration {% if pathname.startswith(child.name) %}active{% endif %}">
|
||||
<a href="{{ child.name }}" class="no-decoration {% if (pathname or "").startswith(child.name) %}active{% endif %}">
|
||||
{{ child.title or child.page_title or child.name.replace("_", " ").title() }}
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue