From a62a3e7755579d93ce3a87243dd277575930fffe Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Mon, 5 Nov 2018 21:49:16 -0500 Subject: init --- themes/even/layouts/partials/post/toc.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 themes/even/layouts/partials/post/toc.html (limited to 'themes/even/layouts/partials/post/toc.html') diff --git a/themes/even/layouts/partials/post/toc.html b/themes/even/layouts/partials/post/toc.html new file mode 100644 index 0000000..4fed1c7 --- /dev/null +++ b/themes/even/layouts/partials/post/toc.html @@ -0,0 +1,9 @@ +{{ if or .Params.toc (and .Site.Params.toc (ne .Params.toc false)) }} +
+

{{ T "toc" }}

+ {{ $globalAutoCollapseToc := .Site.Params.autoCollapseToc | default false }} +
+ {{.TableOfContents}} +
+
+{{- end }} \ No newline at end of file -- cgit v1.2.3