Jekyll site only shows up in markup

Jekyll site only shows up in markup


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

Screen Shot 2018-10-05 at 10.34.54 PM.png1920x1080 277 KB

Here is my _config.yml file

email: [email protected]
description: >- # this means to ignore newlines until "baseurl:",a place where we can talk about coding, and some other stuff too
baseurl: "/slowpacedcoding" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g.
twitter_username: zh0ux1ang
github_username:  zhouxiang19910319

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

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

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

which part I got wrong?


solved. deleted baseurl from _config.yml then it worked.