Post specific togglable TOC (#575)

The default is true.
This commit is contained in:
SalahDin Ahmed
2022-04-04 06:20:48 +03:00
committed by GitHub
parent f6440e69d5
commit 827a940995
+1 -1
View File
@@ -179,7 +179,7 @@
{{ define "toc" }}
<section class="toc-section" id="toc-section">
{{ if site.Params.enableTOC }}
{{ if and site.Params.enableTOC ( .Params.enableTOC | default true ) }}
<div class="toc-holder">
<h5 class="text-center pl-3">{{ i18n "toc_heading" }}</h5>
<hr>