add partials/toc.html
Prithu Goswami pg@prithu.dev
Sun, 18 Feb 2024 23:06:43 +0530
1 files changed,
5 insertions(+),
0 deletions(-)
jump to
A
layouts/partials/toc.html
@@ -0,0 +1,5 @@
+{{ if and (gt .WordCount 400 ) (.Params.toc) }} +<aside> + {{ .TableOfContents }} +</aside> +{{ end }}