diff --git a/_config.yml b/_config.yml index 90af63a571..f4c1c9c7a2 100644 --- a/_config.yml +++ b/_config.yml @@ -18,8 +18,8 @@ remote_theme: sighingnow/jekyll-gitbook toc: enabled: true - h_min: 1 - h_max: 3 + h_min: 1 + h_max: 3 # customize the link favicon in header, will be {{site.baseurl}}/{{site.favicon_path}} favicon_path: /assets/gitbook/images/favicon.ico diff --git a/_includes/toc-date.html b/_includes/toc-date.html index c56f077bbf..06a926b9f4 100644 --- a/_includes/toc-date.html +++ b/_includes/toc-date.html @@ -39,6 +39,11 @@ {{ site.title | escape }} + {% if site.toc.enabled %} + {% if site.toc.enabled_index %} + {% include toc.html html=content h_min=site.toc.h_min h_max=site.toc.h_max %} + {% endif %} + {% endif %}