-
Notifications
You must be signed in to change notification settings - Fork 54
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
Help installing and configuring? #89
Comments
Currently, the only item that matches the selector ( |
Hey! You are right! the problem thought is I just realize that I can't put the The toc has a class Any idea? Thanks! |
In your case, This works: gumshoe.init({
selector: '.toc__menu a'
}); |
Hey!
First of all thanks for this project and for Smooth Scroll
I have installed smooth scroll and now I'm trying to install gumshoe in my jekyll page and I'm failing and I don't know why.
Basically I've downloaded gumshoe.min.js and installed in
assets/js/plugins/gumshoe.min.js
.Then I've tried to call the function using
_main.js
andmain.min.js
located inassets/js/plugins
with:And them I build the
main.min.js
withnpm run build:js
after set in thepackage.json
in the uglyfy part the pathassets/js/plugins/gumshoe.min.js
.It didn't work... so I tried a more straight forward method and put in the footer:
It didn't work also...
what I'm missing?
you can check the repo here: https://github.com/luispuerto/gumshoe-test
The page running with gumshoe here: https://luispuerto.github.io/gumshoe-test/
A good example post here: https://luispuerto.github.io/gumshoe-test/blog/2017/11/16/the-preliminaries-for-bread-and-pizza-making/
With Smooth Scroll was really easy... I don't know what I'm missing here.
The text was updated successfully, but these errors were encountered: