diff options
Diffstat (limited to 'themes/new_theme/layouts/partials/post_toc.html')
-rw-r--r-- | themes/new_theme/layouts/partials/post_toc.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/new_theme/layouts/partials/post_toc.html b/themes/new_theme/layouts/partials/post_toc.html new file mode 100644 index 0000000..2133247 --- /dev/null +++ b/themes/new_theme/layouts/partials/post_toc.html @@ -0,0 +1,8 @@ +{{ if .Param "toc" }} +<div class="post__toc toc"> + <div class="toc__title">{{ T "toc_title" }}</div> + <div class="toc__menu"> + {{ .TableOfContents }} + </div> +</div> +{{ end }}
\ No newline at end of file |