Skip to content

Commit

Permalink
Update sidebar.html
Browse files Browse the repository at this point in the history
  • Loading branch information
brunochanrio authored May 7, 2024
1 parent 8d983d9 commit bb33a9a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
</div>

<ul class="md-nav__list" data-md-scrollfix="">
<li class="md-nav__item md-nav__item--active">
{% for section in site.data.toc %}
<li class="md-nav__item md-nav__item--nested md-nav__item--active">
<li class="md-nav__item md-nav__item--active">
<a class="md-nav__link pancakes-parent" {% if section.children %}href="#pancakes-{{ section.title | slugify }}"{% else %}href="{% if section.external_url %}{{ section.external_url }}{% else %}{{ site.baseurl }}/{{ section.url }}{% endif %}"{% endif %}
id="pancakes-{{ section.title | slugify }}"
title="{{ section.title }}">{{ section.title }}</a>
Expand All @@ -33,7 +31,7 @@
</li>{% endfor %}

{% for section in site.data.toc %}
<li class="md-nav__item md-nav__item--nested mobile-nav">
<li class="md-nav__item mobile-nav">
<a class="md-nav__link pancakes-parent" {% if section.children %}href="#pancakes-{{ section.title | slugify }}"{% else %}href="{% if section.external_url %}{{ section.external_url }}{% else %}{{ site.baseurl }}/{{ section.url }}{% endif %}"{% endif %}
id="pancakes-{{ section.title | slugify }}"
title="{{ section.title }}">{{ section.title }}</a>
Expand Down

0 comments on commit bb33a9a

Please sign in to comment.