Closed gotohx closed 2 years ago
应该是hexo-renderer-sass插件没有正确安装的原因。
不太理解,这个文件 https://github.com/tufu9441/maupassant-hexo/blob/master/source/css/style.scss 是需要用插件再生成一次吗?
应该是说当后缀名是scss的时候,必须安装有hexo-renderer-sass插件,才能够正常渲染。其实两种格式和语法基本是一样的,既然你能通过改后缀名来正常使用的话,也不用管那么多了。
了解了,多谢解惑
style.scss 文件后缀错误导致布局失效,改成 style.css 后恢复正常 。