After cloned, the site can only show like the pic.
Closed this issue · 2 comments
It looks like the page is failing to load external resources. The CSS stylesheets for the page aren't present, meaning that fonts and layouts aren't rendered, and the page looks like a Word document.
I would suggest that you use your browser's inspect element tool to find the stylesheets (which are definitely not loading). Use Right-click -> Inspect and locate the <html> -> <head> -> <link rel="stylesheet" />
tags. I've done so here in my browser (Google Chrome).
Checking out the href=
attributes of these tags should give you some clue as to why the stylesheets aren't loading. If the value of this attribute differs from the actual location of the stylesheets served by Jekyll, the source of your issue should become clear.
I couldn't reproduce your issue by cloning the repository. However, if you have attempted to change the baseurl
of your site in _config.yml
to the root, make sure you set the value to baseurl: ""
and not baseurl: "/"
. I tried doing the latter and broke the site's stylesheets, producing the exact situation you described:
I am closing this issue because I could not reproduce the result you put forth. However, if my suggestions do not solve your difficulties, reopen the issue with screenshots of your website and its source code, and I'll do my best to help you!
Best,
LR
Yes, it's the problem about the baseurl
, thx for your suggestions!