Closed mgibson323 closed 2 years ago
I am using Hugo Easy Gallery on a site I am working on. Whenever I push changes to the site a Jenkins build is kicked off to create a staging site. The URL for the staging site contains a path in it using the name of the branch, i.e.:
http://someurl.com/somebranch/
This causes the images in the overlay to 404, while the thumbnail images display fine.
The change I am proposing here seems to fix this issue, as my latest build works and the images in the overlay are no longer causing a 404.
Thematically similar to #47, LGTM. Thanks for the PR!
I am using Hugo Easy Gallery on a site I am working on. Whenever I push changes to the site a Jenkins build is kicked off to create a staging site. The URL for the staging site contains a path in it using the name of the branch, i.e.:
http://someurl.com/somebranch/
This causes the images in the overlay to 404, while the thumbnail images display fine.
The change I am proposing here seems to fix this issue, as my latest build works and the images in the overlay are no longer causing a 404.