Add floating/sticky TOC for blog posts
Closed this issue · 3 comments
spcanelon commented
Ideas:
spcanelon commented
Noticed the ToC also shows up beneath "Details" in Talks and Publications
Maybe try editing partialsidebar-scaffold.html
instead ofpost-details.html
?- edit
single-sidebar.html
layout insidelayouts/blog
spcanelon commented
Styled mostly with Hugo Academic CSS
- Add "scrollspy" feature: https://mdbootstrap.com/docs/standard/navigation/scrollspy/
Primary resources used:
spcanelon commented
-
Modify ToC observer so that the focus doesn't jump to the most 'recent' header to scroll into view - Modify ToC observer so that it includes parent element and doesn't appear as jumpy
Ideas/resources: