Skip to content
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

Sticky Sidebar Navigation is not working on GitHub Pages #22

Closed
debashiscodes opened this issue Aug 16, 2019 · 4 comments
Closed

Sticky Sidebar Navigation is not working on GitHub Pages #22

debashiscodes opened this issue Aug 16, 2019 · 4 comments

Comments

@debashiscodes
Copy link

debashiscodes commented Aug 16, 2019

I have hosted Jekyll site using bese-jekyll-template on github pages. But the sticky sidebar navigation is not working. Any Idea to resolve this? Is there any way to use custom plugins for github pages ?

@debashiscodes
Copy link
Author

Closed this issue as issue has been fixed.

@coolbrg
Copy link

coolbrg commented Jan 3, 2020

Just curious to know how you have fixed this issue @debashis-biswal .

@magdmartin
Copy link

same here interested to see the sidebar can be displayed on Github pages.

@martinrefinepro
Copy link

martinrefinepro commented Jul 14, 2021

As mention in #26 GitHub pages does not support custom plugin
You can do that by replacing TOC with a github compatible TOC generator. I used https://github.com/allejo/jekyll-toc

  • Download the toc.html file from the latest release or the master branch
  • Toss that file in your _includes folder.
  • Edit _layout/post.html and replace lines 8 to 10 with {% include toc.html html=content %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants