1
我有一个简单的网站,并试图在一个新文件夹中添加一个Jekyll博客blog
因此我已经在文件夹/path
中运行jekyll new blog
。然而,当我在/path
运行命令jekyll build
我有这些错误:将Jekyll添加到现有网站
$ jekyll build
Configuration file: none
Source: /path
Destination: /path/_site
Generating...
Build Warning: Layout 'post' requested in blog/_posts/2015-06-14-welcome-to-jekyll.markdown does not exist.
Build Warning: Layout 'default' requested in blog/index.html does not exist.
Conversion error: Jekyll::Converters::Scss encountered an error converting 'blog/css/main.scss'.
Conversion error: File to import not found or unreadable: /blog/_sass/base.scss. Load paths: on line 47
我在父文件夹移动_config.yml
解决的第一个问题(Configuration file: none
),但是我用
---
layout: default
---
main.scss
的进口也不起作用(最后一个错误)。
如果我在再次移动_config.yml
之后再执行jekyll build
/path/blog
,我没有错误。有人知道如何能够使用我拥有的配置在父文件夹中执行jekyll build
?我是否必须完全改变我的网站架构以包含Jekyll博客?
与源'_jekyll'和目的地'博客'工作没有斜线,感谢您的帮助! –