We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Way to Add Index/TOC to Right/Left Sidebar

  • #10136
    Avatar photo[anonymous]

    Is there any way/theme/customization that allows me to add the Table of Contents to right or left sidebar of a blog post?

    Avatar photo[anonymous]

    I think one of the documentation themes has that feature out of the box.

    Otherwise, it would be possible to do custom CSS. Find a Codepen or GitHub repo that has the feature you’re looking for, like this one:

    If you don’t know how CSS or HTML works, I can link to some free resources. Let me know.

    Avatar photo[anonymous]


    I suppose that the only way at this moment is to prepare a custom JS script which will move ToC element (if exists) to sidebar