📜  错误“目录”未找到. jekyll - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:40.646000             🧑  作者: Mango

代码示例1
# This error probably means Jekyll doesn't know about them, so they're not compiling into the build folder, _site

$ bundle exec jekyll serve

[2017-04-13 13:35:17] ERROR `/_static/css/theme.css` not found.
[2017-04-13 13:35:17] ERROR `/_static/jquery.js` not found.
[2017-04-13 13:35:17] ERROR `/_static/underscore.js` not found.
[2017-04-13 13:35:17] ERROR `/_static/doctools.js` not found.
[2017-04-13 13:35:17] ERROR `/_static/js/theme.js` not found.

---

# Try adding them to _config.yml file like this:

include:
  - _static

# If that doesn't work, just remove the underscore and Jekyll will automatically include in the build