- Add a bunch of images to a 'page'. Just images. No markup besides img elements.
- Create a page.lookbook template and in it, add the code below.
- Assign template to page.
Created
August 10, 2015 03:24
-
-
Save carolineschnapp/5bb389029b769cb89500 to your computer and use it in GitHub Desktop.
Add a Flexslider slideshow to any amount of regular pages in 3 easy steps. #slideshow #flexslider
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="span12"> | |
<div class="flexslider-container"> | |
<div class="flexslider"> | |
<ul class="slides"> | |
{{ page.content }} | |
</ul> | |
<div class="flex-controls"></div> | |
</div> | |
</div> | |
</div> | |
<script> | |
$('.slides').find('img').wrap('<li></li>'); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment