jekyll serve E`/assets/themes/bootstrap-3/css/style.css’ not found.
登录127.0.0.1:4000之后,网页没有样式,而且在终端出现一下ERROR
E`/assets/themes/bootstrap-3/css/style.css' not found.
ERROR `/assets/themes/bootstrap-3/bootstrap/css/bootstrap.min.css' not found.
ERROR `/assets/themes/bootstrap-3/bootstrap/css/bs-sticky-footer.css' not found.
ERROR `/assets/themes/bootstrap-3/bootstrap/css/bootstrap-theme.min.css' not found.
ERROR `/assets/themes/bootstrap-3/bootstrap/js/bootstrap.min.js' not found.
ERROR `/assets/themes/bootstrap-3/bootstrap/js/bootstrap.min.js' not found.
解决办法:
在 你的博客路径\assets\themes\
新建一个文件夹 bootstrap-3
并且将themes中的所有文件移到bootstrap-3中包括:bootstrap css twitter
再刷新网页,或者重启服务器
本文解决了一个关于使用Jekyll搭建的网站在本地预览时样式文件丢失的问题。具体表现为启动服务器后,页面样式未正常加载,并在终端显示一系列错误提示。通过创建文件夹并调整文件结构,最终成功解决了样式加载失败的问题。
6万+

被折叠的 条评论
为什么被折叠?



