all repos — website @ 6e16ae8de0ec5f0e337fefb4d8ec63b4bd1809bf

personal website hosted at prithu.xyz, built using hugo

add partials/toc.html
Prithu Goswami pg@prithu.dev
Sun, 18 Feb 2024 23:06:43 +0530
commit

6e16ae8de0ec5f0e337fefb4d8ec63b4bd1809bf

parent

2c0b51075fe8c0ecc02ca345dbd908fec99522a8

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 }}