raviriley / agency-jekyll-theme

Jekyll version of the newest Agency Bootstrap theme, plus new features: Google Analytics, Markdown support, custom pages, and more!
https://raviriley.github.io/agency-jekyll-theme-starter/
MIT License
347 stars 689 forks source link

Trying to use basic bootstrap element within the theme with no success #17

Closed lakonis closed 3 years ago

lakonis commented 3 years ago

Hello, I was using your theme successfuly until I tried to integrate bootstrap accordion in a page. I was able to add the requested and missing scss elements but it looks like the javascript doesn't proceed. I am not sure what info I can give to debug it.

bundle exec jekyll serve gives no error

Thank you!

raviriley commented 3 years ago

I suggest reading the Bootstrap Accordion documentation for more information on how to integrate it. For example, the linked page states you need the Collapse JavaScript plugin.

lakonis commented 3 years ago

thank you. Indeed I followed the bootstrap documentation. However, should I understand that assets/js/bootstrap.bundle.min.js doesn't come with all bootstrap plugins, but a selection of them ? I did add specific scss boodstrap modules (working), but the JS element gives no result (other than the one already included into the agency template)

raviriley commented 3 years ago

Correct, the minified bootstrap files only include what's needed for this theme. You'll need to add additional plugins if you want the accordion to work.