davewibisono / catalyst-neuro

1 stars 1 forks source link

Option to add photo gallery to blog posts #19

Closed bendichter closed 4 months ago

bendichter commented 5 months ago

I currently am writing a blog post about a company retreat, and I would like to be able to include a photo gallery. Not all blog posts would need this. I would be fine with adding HTML to the markdown in order to include this

bendichter commented 5 months ago

https://github.com/haltakov/simple-photo-gallery?tab=readme-ov-file

this would work

bendichter commented 5 months ago

https://hugocodex.org/add-ons/image-gallery/

This would also work

davewibisono commented 4 months ago

This one is done. You can use the code snippet in the blog. You have to create a folder and place a set of images for the gallery. In this example, I have created a 'team' folder under '/assets/img/'.

{{< snap-gallery src="/assets/img/team/" mode="slideshow" >}}