# Theme renders on localhost, but not on Github Pages site

**URL:** <https://discourse.gohugo.io/t/theme-renders-on-localhost-but-not-on-github-pages-site/28692>\
**Category:** support\
**Created:** [October 6, 2020, 6:54pm UTC](https://discourse.gohugo.io/t/theme-renders-on-localhost-but-not-on-github-pages-site/28692 "2020-10-06T18:54:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nategoethel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/nategoethel/32/13402_2.png) [@nategoethel](https://discourse.gohugo.io/u/nategoethel)\
**Post date:** [October 6, 2020, 6:54pm UTC](https://discourse.gohugo.io/t/theme-renders-on-localhost-but-not-on-github-pages-site/28692/1 "2020-10-06T18:54:09Z")

</div>

Hi all,

I build my Hugo site in a local git repo called `help-staging.` When I’m ready, I build the site with `hugo -d ../<production-repo>`, and then push the changes in both repos to Github.

When I’m in my staging repo and run `hugo server`, the site is styled how I expect it to be.

When I go to my Github Pages site after uploading the changes, there is no styling. It’s just the basic HTML.

Any thoughts?

Edit: I see that the CSS files on my production site are empty. They exist, but have no content.

Final Edit: I was able to resolve this by updating the `baseURL` field in `config.toml` to be empty (`""`). My issue was that the GET requests for the CSS resources was “[docs.myorg.com/mygitrepo.github.io/](http://docs.myorg.com/mygitrepo.github.io/)” which wasn’t a valid URL and would thus fail with a 404 error.

---

<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:** [October 7, 2020, 12:26am UTC](https://discourse.gohugo.io/t/theme-renders-on-localhost-but-not-on-github-pages-site/28692/2 "2020-10-07T00:26:00Z")

</div>


