No CSS on Gitlab Pages
Opened this issue · 4 comments
Deleted user commented
I wanted to host the website on Gitlab Pages, but the CSS is missing. For the CI, I used the default config from the Hugo example:
# All available Hugo versions are listed here: https://gitlab.com/pages/hugo/container_registry
image: registry.gitlab.com/pages/hugo:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
test:
script:
- hugo
except:
- master
pages:
script:
- hugo
artifacts:
paths:
- public
only:
- master
The file is avaialbe on the example page and my project is availabe here.
erazemk commented
@tomanistor Hi, this was an old account of mine (you can check the 2nd link, the owner's username matches mine), this was resolved, so please close the issue.
tomanistor commented
Thank you @JustMeErazem. Was there a particular fix you put in place (in case someone has a similar issue and stumbles upon this thread)?
erazemk commented
I had to edit the config.toml and set the base url to my Gitlab pages' name (justmeerazem.gitlab.io).
tomanistor commented
Thank you @JustMeErazem, I appreciate the closure!