diff --git a/_includes/custom/contents.html b/_includes/custom/contents.html index fe669c0..a94759d 100644 --- a/_includes/custom/contents.html +++ b/_includes/custom/contents.html @@ -170,8 +170,12 @@ {% assign nodes = jekyll_toc | split: '>' %} {% capture jekyll_toc %}
- {%- if site.table_of_contents_collapsible != false -%} -
+ {%- if site.table_of_contents_collapsible != false %} + {%- if page.table_of_contents_collapsed != false -%} +
+ {%- else %} +
+ {%- endif -%} {%- endif- %} {{ site.table_of_contents_header }} <{{ listModifier }}{{ rootAttributes }}>{{ nodes | shift | join: '>' }}> diff --git a/_includes/footer.html b/_includes/footer.html index 7f800ef..8c38ed6 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -10,7 +10,7 @@