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
Here is my _config.yml file
title: slowpacedcoding.com email: [email protected] 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
<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?