Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法加载样式表 #4

Closed
ghost opened this issue Mar 31, 2018 · 3 comments
Closed

无法加载样式表 #4

ghost opened this issue Mar 31, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Mar 31, 2018

我直接git下来的放在了theme目录下。可是却加载不出来样式表。请问是什么原因?

@zo-ly
Copy link
Owner

zo-ly commented Apr 2, 2018

是否安装了sass $ npm install --save hexo-renderer-sass

@ghost
Copy link
Author

ghost commented Apr 2, 2018

Header of edinburgh theme
menu:
About: /about
Contact: /contact
Instagram: https://www.instagram.com
LinkedIn: https://www.linkedin.com
Facebook: https://www.facebook.com
category: /categories

原因我找到了,之前在 _config.yml 中有这么一段是之前一个主题使用的。可能是发生了冲突。我把它注释了以后就ok了。谢谢~

@zo-ly
Copy link
Owner

zo-ly commented Apr 3, 2018

好的,解决了就行

@zo-ly zo-ly closed this as completed Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant