Jquery not loading

Using One Page skeleton, I’ve disabled on_page menu and added my pages through site.yaml file, but that causes the modules on home page not to load the jquery that makes the smooth scroll effect when clicked. Is there any way to fix it? I’m not experienced on jS

that should not make a difference. The jQuery library is loaded via the partials/base.html.twig template of Antimatter. it’s loaded every time.

Hmm… ok. I will look into it. Maybe I messed up with something.