Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No CSS on Gitlab Pages #48

Closed
ghost opened this issue Jul 22, 2018 · 4 comments
Closed

No CSS on Gitlab Pages #48

ghost opened this issue Jul 22, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Jul 22, 2018

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
Copy link

erazemk commented Jan 30, 2019

@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
Copy link
Owner

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
Copy link

erazemk commented Jan 31, 2019

I had to edit the config.toml and set the base url to my Gitlab pages' name (justmeerazem.gitlab.io).

@tomanistor
Copy link
Owner

Thank you @JustMeErazem, I appreciate the closure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants