Gallery Example

To add a photo gallery placeholder to your post, just add the following lines to your front-matter:

1
2
3
4
photos:
- https://www.hdwallpapers.net/previews/starry-night-over-corsica-986.jpg
- https://www.hdwallpapers.net/previews/water-plant-close-up-979.jpg
- ...

and enable lightgallery plugin in your _config.yml:

1
2
3
4
5
# Plugins
plugins:
+ lightgallery: true # options: true, false
google_analytics: # enter the tracking ID for your Google Analytics
...

You can also add photos between text to create another gallery like this:

Lion

or this:

Red Panda

© 2018 iTimeTraveler All Rights Reserved. 本站访客数人次 本站总访问量
Theme by hiero