zhaohuabing / hugo-theme-cleanwhite

A clean, elegant blog theme for hugo
Apache License 2.0
725 stars 335 forks source link

How to create a photo gallery. #70

Closed EMTincopa closed 4 years ago

EMTincopa commented 4 years ago

I like the way you manage this photo gallery: https://zhaohuabing.com/post/2019-10-08-amsterdam/ I want to create my own photo gallery, Can you explain me how did you create Amsterdam's gallery photo? (code? example site post example?) Please, thank you very much!

lynxrv21 commented 4 years ago

Hi @EMTincopa, I'm working on setting up a blog using cleanwhite theme too. There is hugo-easy-gallery shortcodes integrated, so you can look into its demo Shortly, you can do it by adding a single line: {{< gallery dir="/img/arduino" />}} {{< load-photoswipe >}}

zhaohuabing commented 4 years ago

@lynxrv21 is right @EMTincopa below is the source code of this page https://zhaohuabing.com/post/2019-10-08-amsterdam/ https://github.com/zhaohuabing/hugo_blog/blob/master/content/post/2019-10-08-amsterdam.md

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.