When I build my site locally using “hugo serve”, everything is great.
When I deploy to gitlab, using
hugo --baseURL="username.gitlab.io/sitename/" in the .gitlab-ci.yml deployment script (Gitlab and Hugo), then all the images referenced in the /static/ folder don’t load properly. And if I try any other basURL argument, then the navigation to the content doesn’t work. How do I work around this?