We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6353bf commit 5ea51b6Copy full SHA for 5ea51b6
2 files changed
_config.yml
@@ -18,6 +18,7 @@ remote_theme: sighingnow/jekyll-gitbook
18
19
toc:
20
enabled: true
21
+ enabled_index: false
22
h_min: 1
23
h_max: 3
24
_includes/toc-date.html
@@ -39,6 +39,11 @@
39
<a href="{{site.baseurl}}/" onclick="pageScrollToTop(this)">
40
{{ site.title | escape }}
41
</a>
42
+ {% if site.toc.enabled %}
43
+ {% if page.url == "/" and site.toc.enabled_index %}
44
+ {% include toc.html html=content h_min=site.toc.h_min h_max=site.toc.h_max %}
45
+ {% endif %}
46
47
</li>
48
49
<li class="divider"></li>
0 commit comments