You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project should work anywhere, including GitHub's default themes. However, this project is designed to be used inside Jekyll layouts, not markdown documents. If you look at the UK's usage, you'll see that it's in _layout/default.html. In order for it to work with GitHub themes, you'll have to override the layouts provided by the theme and include toc.html in your overridden layout.
Since you're using the "Slate" theme, this is the file you'll have to copy paste into your repository and then you'd be able to use toc.html.
I've followed the instructions at
https://allejo.io/blog/a-jekyll-toc-without-plugins-or-javascript/
and compared with
ministryofjustice/technical-guidance#7
so I've added the include in:
https://github.com/dgjansen/Lizenzcenter/Cases.md
and I've added the toc.html in
https://github.com/dgjansen/Lizenzcenter/tree/master/_includes
but it seems nothing happens at all.
I'm trying to use it here:
https://dgjansen.github.io/Lizenzcenter/Cases
But somehow it's not working. Nothing happens. Any ideas?
Could it be it's not compatible with the default github pages templates?
The text was updated successfully, but these errors were encountered: