This fixes #3 (page content displayed on the sidebar instead of a toc), caused by the custom "toc.rb" jekyll plugin not being loaded when run on github pages. It's done by replacing the ruby logic with a bit of equivalent client side javascript code.
This fixes #3 (page content displayed on the sidebar instead of a toc), caused by the custom "toc.rb" jekyll plugin not being loaded when run on github pages. It's done by replacing the ruby logic with a bit of equivalent client side javascript code.