DEV Community


Discussion on: Building a folder-based gallery for Hugo

studiostark1 profile image
Michael Stark

came from Jekyll (switched after two weeks for Hugo and never regret it).

I got your Foldergallery running. OK the DOM elements are created but the images are not loaded. Tried a little bit with the .PageURL but didn't get the URL pointing in my folder directory.

What therm do i have to search for, the Hugo documentation is a mouthful... ;) ???

sarmis profile image
Thomas Sarmis Author

I would suggest comparing the src attribute of dom elements (imgs) against the actual path of the images in the public folder