This “topic” is different than “Ideal-Image-Slider w/ Includes Implementation” where this post deals with image sliders in post excerpts.
While the ideal-image-slider (iis) is working on a collections.projects post, as in the post “losPinos-jekylliis”, it is not working in excerpts on projects’ home page. When I say projects, I mean my projects collection, not my website as a whole project.
slider_scripts.html looks for
image_sliders on each page and pages where
image_sliders_load_all yaml frontmatter is set to
true, then, puts all the
image_sliders into an array called
iis_slider_array is not empty iis javacripts are called and a
selector iterates over the
I declare these variables multiple times in the
slider_scripts.html to see if they contain data, and as you can see in chrome dev tools, they do. Yet when the
slider_scripts.html include is called on the projects’ home page, it throws off an
unexpected token error on line 199 and even though work.md has the yaml frontmatter
image_sliders_load_all set to
true someway, somehow,
slider.selector turns up null or undefined, and I don’t know why.
I’m looking for help in this matter, and any is much appreciated.