diff options
author | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2017-08-27 22:38:42 +0800 |
---|---|---|
committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2017-08-27 22:38:42 +0800 |
commit | 3c6cb7f29631dfcdd954e7cbd5d2370efe7eb827 (patch) | |
tree | d374e090981dda28452dbd13400e377b9cc06277 /layouts/partials/post/toc.html |
🎉 first commit
Diffstat (limited to 'layouts/partials/post/toc.html')
-rw-r--r-- | layouts/partials/post/toc.html | 8 |
1 files changed, 8 insertions, 0 deletions
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) }} +<div class="post-toc" id="post-toc"> + <h2 class="post-toc-title">{{ .Site.Data.even.default.posts.toc }}</h2> + <div class="post-toc-content"> + {{.TableOfContents}} + </div> +</div> +{{- end }}
\ No newline at end of file |