We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b6353bf + 10a770b commit a7d8769Copy full SHA for a7d8769
2 files changed
_config.yml
@@ -18,8 +18,8 @@ remote_theme: sighingnow/jekyll-gitbook
18
19
toc:
20
enabled: true
21
- h_min: 1
22
- h_max: 3
+ h_min: 1
+ h_max: 3
23
24
# customize the link favicon in header, will be {{site.baseurl}}/{{site.favicon_path}}
25
favicon_path: /assets/gitbook/images/favicon.ico
_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 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