# Jekyll site only shows up in markup

**URL:** <https://talk.jekyllrb.com/t/jekyll-site-only-shows-up-in-markup/2224>\
**Category:** Help\
**Created:** [October 5, 2018, 2:39pm UTC](https://talk.jekyllrb.com/t/jekyll-site-only-shows-up-in-markup/2224 "2018-10-05T14:39:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhouxiang19910319](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/zhouxiang19910319/32/1493_2.png) [@zhouxiang19910319](https://talk.jekyllrb.com/u/zhouxiang19910319)\
**Post date:** [October 5, 2018, 2:39pm UTC](https://talk.jekyllrb.com/t/jekyll-site-only-shows-up-in-markup/2224/1 "2018-10-05T14:39:09Z")

</div>

I use github pages to host my jekyll site, but the CSS part is all broken.  
The site works fine locally, when it comes to the server part, the CSS cannot be loaded for some reason.

Here’s a comparison screenshot.

using my site address

 ![54%20PM](https://canada1.discourse-cdn.com/flex030/uploads/jekyllrb/original/2X/4/407b8ec140a896e857a9a90be4608d5b0c9a97a5.png)

Here is my \_config.yml file

```auto
title: slowpacedcoding.com
email: mattzhou0357@gmail.com
description: >- # this means to ignore newlines until "baseurl:"
  slowpacedcoding.com,a place where we can talk about coding, and some other stuff too
baseurl: "/slowpacedcoding" # the subpath of your site, e.g. /blog
url: "https://slowpacedcoding.com" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: zh0ux1ang
github_username: zhouxiang19910319

# Build settings
markdown: kramdown
theme: minima
plugins:
  - jekyll-feed

```

here is the CSS linking code, I found it under \_site/index.html

```auto
<link rel="stylesheet" href="/slowpacedcoding/assets/main.css"><link type="application/atom+xml" rel="alternate" href="http://localhost:4000/slowpacedcoding/feed.xml" title="slowpacedcoding.com" /></head>

```

which part I got wrong?

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [October 5, 2018, 3:38pm UTC](https://talk.jekyllrb.com/t/jekyll-site-only-shows-up-in-markup/2224/2 "2018-10-05T15:38:54Z")

</div>

the image you posted is using a custom url - if you use that then you no longer need the baseurl value - which you have hard coded. So remove the `/slowpacedcoiding`part from your url as you are using a custom domain.

The baseurl is needed if you use GH pages and don’t have a custom url as your site will be served from a subfolder under your username and that needs to be in the url.

---

<div class="post-metadata">

**Author:** ![zhouxiang19910319](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/zhouxiang19910319/32/1493_2.png) [@zhouxiang19910319](https://talk.jekyllrb.com/u/zhouxiang19910319)\
**Post date:** [October 5, 2018, 3:41pm UTC](https://talk.jekyllrb.com/t/jekyll-site-only-shows-up-in-markup/2224/3 "2018-10-05T15:41:39Z")

</div>

wow. it worked . thanks!
