remove has-treeview class across all demo & docs pages (#2912)
* remove has-treeview class across all demo & docs pages * remove if item.subitems in docs/_includes/sidebar.html
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
{%- endif -%}
|
||||
{%- endfor %}
|
||||
|
||||
<li class="nav-item{% if item.subitems %} has-treeview{% endif %}{% if subitem_active == 'true' %} menu-open{% endif %}">
|
||||
<li class="nav-item{% if subitem_active == 'true' %} menu-open{% endif %}">
|
||||
{% if item.url == 'index.html' -%}
|
||||
{%- assign item_url = '/' -%}
|
||||
{%- else -%}
|
||||
|
||||
@@ -32,7 +32,7 @@ The sidebar used in this page to the left provides an example of what your sideb
|
||||
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu">
|
||||
<!-- Add icons to the links using the .nav-icon class
|
||||
with font-awesome or any other icon font library -->
|
||||
<li class="nav-item has-treeview menu-open">
|
||||
<li class="nav-item menu-open">
|
||||
<a href="#" class="nav-link active">
|
||||
<i class="nav-icon fas fa-tachometer-alt"></i>
|
||||
<p>
|
||||
|
||||
@@ -102,7 +102,7 @@ Old sample entry (with tree menu)
|
||||
<div class="col-md-6" markdown="1">
|
||||
New sample entry (with tree menu)
|
||||
```html
|
||||
<li class="nav-item has-treeview">
|
||||
<li class="nav-item">
|
||||
<a href="#" class="nav-link">
|
||||
<i class="nav-icon fas fa-tachometer-alt"></i>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user