You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deploying to gitlab pages, which uses a subpath e.g. https://StefMa.gitlab.io/hugo-fresh/, images would not load correctly.
This is caused by the leading / when referencing static files.
Changing references from: "/images/.../%s
to "images/.../%s
Should make it compatible with both site configurations.
Currently testing and will submit a PR shortly.
The text was updated successfully, but these errors were encountered:
When deploying to gitlab pages, which uses a subpath e.g.
https://StefMa.gitlab.io/hugo-fresh/
, images would not load correctly.This is caused by the leading
/
when referencing static files.Changing references from:
"/images/.../%s
to
"images/.../%s
Should make it compatible with both site configurations.
Currently testing and will submit a PR shortly.
The text was updated successfully, but these errors were encountered: