Skip to content

Commit

Permalink
Remove menu site config - we always have a left menu unless it is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Sep 4, 2024
1 parent 5981058 commit f3a7d6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
5 changes: 0 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,3 @@ description: <a href="/AboutGiellaLT.html">GiellaLT</a> provides an infrastructu

plugins:
- jemoji

toc:
enabled: true
h_min: 2
h_max: 6
10 changes: 4 additions & 6 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@ <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repo
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
</ul>
{% endif %}
{% if site.toc.enabled %}
<div id="toc">
<h2 class="tocheader">Page Content</h2>
{% include toc.html html=content sanitize=true class="left_toc" id="left_toc" h_min=site.toc.h_min h_max=site.toc.h_max %}
</div>
{% endif %}
<div id="toc">
<h2 class="tocheader">Page Content</h2>
{% include toc.html html=content sanitize=true class="left_toc" id="left_toc" h_min=2 h_max=6 %}
</div>
</header>
<section>

Expand Down

0 comments on commit f3a7d6c

Please sign in to comment.