# Issue with gitlab pages - theme not rendering

**URL:** <https://discourse.gohugo.io/t/issue-with-gitlab-pages-theme-not-rendering/23138>\
**Category:** Using Themes\
**Created:** [January 30, 2020, 2:56am UTC](https://discourse.gohugo.io/t/issue-with-gitlab-pages-theme-not-rendering/23138 "2020-01-30T02:56:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![karthidec](https://avatars.discourse-cdn.com/v4/letter/k/ecc23a/32.png) [@karthidec](https://discourse.gohugo.io/u/karthidec)\
**Post date:** [January 30, 2020, 2:56am UTC](https://discourse.gohugo.io/t/issue-with-gitlab-pages-theme-not-rendering/23138/1 "2020-01-30T02:56:04Z")

</div>

Hi Team,  
I am using gitlab pages to build static website and using the theme `hugo-theme-learn`.  
Currently, I am not able to view any of the css or js from this theme and page is loading now without any css and js files.  
When I opened chrome inspect option, I am seeing all css and js files are not found error as 404.

hugo theme - [https://github.com/matcornic/hugo-theme-learn/](https://github.com/matcornic/hugo-theme-learn/)

error chrome page enclosed.

 ![Screen Shot 2020-01-29 at 9.53.05 PM](https://canada1.discourse-cdn.com/flex036/uploads/gohugo/original/2X/6/6d5e9476eea3292b02fa95f270e3916d99be42fc.png)

config.toml

```
baseURL = "/"
languageCode = "en-US"
defaultContentLanguage = "en"
title = "TEST"
theme = "hugo-theme-learn"
# themesdir = "../.."
metaDataFormat = "yaml"
defaultContentLanguageInSubdir= true

```

.gitlab-ci.yaml

```
image: registry.gitlab.com/pages/hugo:latest
pages:
  script:
  - hugo
  artifacts:
    paths:
    - public
  only:
  - master
```

---

<div class="post-metadata">

**Author:** ![pointyfar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pointyfar/32/5797_2.png) [@pointyfar](https://discourse.gohugo.io/u/pointyfar)\
**Post date:** [January 30, 2020, 8:39am UTC](https://discourse.gohugo.io/t/issue-with-gitlab-pages-theme-not-rendering/23138/2 "2020-01-30T08:39:29Z")

</div>

> [@karthidec](#):
>
> `baseURL = "/"`

Hi,

make sure that this is set to the correct value, ie the url where your site gets published.

---

<div class="post-metadata">

**Author:** ![karthidec](https://avatars.discourse-cdn.com/v4/letter/k/ecc23a/32.png) [@karthidec](https://discourse.gohugo.io/u/karthidec)\
**Post date:** [January 30, 2020, 7:28pm UTC](https://discourse.gohugo.io/t/issue-with-gitlab-pages-theme-not-rendering/23138/3 "2020-01-30T19:28:03Z")

</div>

Thanks, it worked !
