-
Notifications
You must be signed in to change notification settings - Fork 797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: "on this page" mini TOC #12
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
In the "Leap Day" theme, this is solved with javascript (based on jquery). An empty list is added in the layout file: And a script loads the TOC and add the list items: This script is registered in layout: See also this pages-themes/cayman#16 (comment) where |
I did not managed to use the At the end I have switched to jekyll-toc, a solution built on top of the liquid templating engine. This works well on GitHub pages. |
As seen on Leap Day.
I prefer this theme visually, but the on-this-page TOC is a nice touch.
The text was updated successfully, but these errors were encountered: