Ask for help: hexo sets up a blog and deploys it to the cloud. Css doesn't work, but it's good on github.

as shown in the figure:

github


github

sassscssgithub
:


check whether some files of the third-party package have been packaged


  1. find configuration file edit _ config.yml
  2. pay attention to the following code. Root: / here is the compilation jump path, and change it to the same warehouse path configured in your code cloud
-sharp URL
-sharp-sharp If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://yoursite.com
root: /
Menu