Carousel Slider
This page uses a customized version of carousel.html to make an image gallery.
Put the html file in _include
, and define images in front matters.
Then, you can include the html file to make carousel sliders.
---
layout: default
title: Page Title
carousels:
- images:
- image: /assets/images/img1.jpg
- image: /assets/images/img2.jpg
- image: /assets/images/img3.jpg
---
# Page Title
{% include carousel.html width="50" height="50" unit="%" duration="7" relative_url=true centerize=true %}
(Photo courtesy photos-public-domain.com)