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 65e8f3a commit e140208
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@
<input class="md-toggle md-nav__toggle" data-md-toggle="toc" id="__toc" type="checkbox">
<label class="md-nav__link md-nav__link--active" for="__toc">Home</label>
<a class="md-nav__link md-nav__link--active" href="{{ site.baseurl }}/" title="Home">Home</a>

<nav class="md-nav md-nav--primary md-nav--secondary">
<label class="md-nav__title" for="__toc">Table of contents</label>
<ul class="md-nav__list" data-md-scrollfix="">
{% for section in site.data.toc %}
<li class="md-nav__item">
<a class="md-nav__link" href="{% if section.external_url %}{{ section.external_url }}{% else %}{{ site.baseurl }}/{{ section.url }}{% endif %}"
id="pancakes-{{ section.title | slugify }}"
<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>
{% if section.children %}<nav class="md-nav">
<ul class="md-nav__list">
Expand Down

0 comments on commit e140208

Please sign in to comment.