Commit Graph

12 Commits

Author SHA1 Message Date
Reorx 08b21a18b0 support left/right side toc 2022-04-13 18:12:08 +08:00
Reorx 60f139d529 add side class for toc if TocSide is true 2022-04-09 23:59:22 +08:00
Aditya Telange 530044033e
Add `UseHugoToc` so that Hugo's default ToC can be used.
Usage =>
UseHugoToc: true

closes: #747
2022-01-22 00:25:35 +05:30
Daniel F. Dickinson 9a20b2e54c
Fix div not allowed in summary element in ToC (html validator complaint) (#552) 2021-09-03 18:57:36 +05:30
Clément Joly e5ba0272de
Never display the ToC when it would be empty (#532) 2021-08-27 22:59:50 +05:30
Daniel H 81fcd8f9d4
Remove extraneous space in toc.html (#488)
Fixes errors in lower version of Hugo
2021-08-03 10:38:23 +05:30
Aditya Telange 196b82645e
Fix Spacing in overall repo 2021-03-30 18:26:43 +05:30
Jannik Arndt 6d6fe2c389
Move ToC divs to toc partial (#329)
Allows Overriding of ToC
2021-03-30 16:07:20 +05:30
Aditya Telange 5264c7011e
toc: add aria-label for accessibility reasons
- fix: Links do not have a discernible name
2020-11-06 10:58:23 +05:30
Aditya Telange a34bcbd74c
toc(partial): generate toc for h1 - h6
previously: h1-h4
2020-10-04 18:52:14 +05:30
Aditya Telange 016dd6e9fa
(lint) remove unnecessary whitespace
created by hugo's {{ }}
2020-09-23 12:52:32 +05:30
Allan Chain 43d1c68ef4
toc: add toc partial [newer impl]
* gets toc fixed

Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-09-19 17:02:20 +05:30