Skip to content
\n

replace the above lines with the below:

\n
<script src=\"{{ '/assets/js/slider/ideal-image-slider.min.js' | relative_url | bust_file_cache }}\"></script>\n<script src=\"{{ '/assets/js/slider/iis-bullet-nav.js' | relative_url | bust_file_cache }}\"></script>\n<script src=\"{{ '/assets/js/slider/iis-captions.js' | relative_url | bust_file_cache }}\"></script>\n
\n

basically replacing \" with ' solved my error, and slider worked fine. and replace all other above script lines with new script lines in other files as well.

\n

let me know if anyone is facing the problem even if this doesn't solve for you.

","upvoteCount":2,"url":"https://github.com/alshedivat/al-folio/discussions/1815#discussioncomment-7357589"}}}

Jekyll Image slider in al-folio webpage! #1815

Answered by pskadasi
mihir022 asked this question in Q&A
Discussion options

You must be logged in to vote

as @george-gca said, i tried to follow Readme: https://github.com/jekylltools/jekyll-ideal-image-slider-include

but it would be better if we follow gh_pages branch and try to replicate what they have done for slider: https://github.com/jekylltools/jekyll-ideal-image-slider-include/tree/gh-pages

even after you follow all the steps, you might get a javascript error, that is due to slider_scripts.html file here _includes/slider_scripts.html

line 12-14:

<script src="{{ "/assets/js/slider/ideal-image-slider.min.js" | relative_url }}"></script>
<script src="{{ "/assets/js/slider/iis-bullet-nav.js" | relative_url }}"></script>
<script src="{{ "/assets/js/slider/iis-captions.js" | relative_url }}…

Replies: 4 comments 11 replies

Comment options

You must be logged in to vote
1 reply
@mihir022
Comment options

Comment options

You must be logged in to vote
3 replies
@pskadasi
Comment options

@george-gca
Comment options

@pskadasi
Comment options

Comment options

You must be logged in to vote
1 reply
@mpil-gist
Comment options

Answer selected by george-gca
Comment options

You must be logged in to vote
6 replies
@scaliaven
Comment options

@george-gca
Comment options

@scaliaven
Comment options

@george-gca
Comment options

@scaliaven
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
5 participants
Converted from issue

This discussion was converted from issue #1812 on October 11, 2023 23:17.