From 3c6cb7f29631dfcdd954e7cbd5d2370efe7eb827 Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Sun, 27 Aug 2017 22:38:42 +0800 Subject: 🎉 first commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/partials/post/toc.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 layouts/partials/post/toc.html (limited to 'layouts/partials/post/toc.html') diff --git a/layouts/partials/post/toc.html b/layouts/partials/post/toc.html new file mode 100644 index 0000000..7921065 --- /dev/null +++ b/layouts/partials/post/toc.html @@ -0,0 +1,8 @@ +{{ if and .Site.Params.toc (ne .Params.toc false) }} +
+

{{ .Site.Data.even.default.posts.toc }}

+
+ {{.TableOfContents}} +
+
+{{- end }} \ No newline at end of file -- cgit v1.2.3