To add a photo gallery placeholder to your post, just add the following lines to your front-matter:1
2
3
4photos:
- 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:
or this: