jekyll serve E`/assets/themes/bootstrap-3/css/style.css' not found.

本文解决了一个关于使用Jekyll搭建的网站在本地预览时样式文件丢失的问题。具体表现为启动服务器后,页面样式未正常加载,并在终端显示一系列错误提示。通过创建文件夹并调整文件结构,最终成功解决了样式加载失败的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

再刷新网页,或者重启服务器
刷新后的网站

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值