How to use Lightbox in Jekyll

Install with bower

Basic usage likes bellow,

If you want to give lightbox feature to all images in page, we can it by bellow javascript.

first, give anchor to image in jekyll

and, make javascript like bellow,

This is sample.

Title{: width=”400px”}



You may also like...

Leave a Reply