Open aallam opened 8 years ago
Hi~ I meet a similar problem. I followed the Jekyll QuickStart.
It ran locally well. But when I opened http://yabzhang.github.io/ in my browser, it seemed no css file be loaded.
I checked requests and found all the GET
requests strange.
http... /assets/themes/bootstrap-3
/bootstrap/css/bootstrap.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
...
http... /assets/themes/bootstrap-3
/bootstrap/js/bootstrap.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
...
Actually there is no bootstrap-3
folder in assests/themes
on my local machine.
Instead there are twitter
bootstrap
css
three folders.
When I ran jekyll serve
locally, it works well. But the static file link is different:
<link href="/assets/themes//bootstrap/css/bootstrap.min.css" ... no bootstrap-3
?!
I have a clean git branch.
@Aallam
Thank u!
I create a folder bootstrap-3
and put bootstrap
in there. Now it works well.
there are so many stupid problem in Jekyll,I think it is time to give up .
correct but eh first two can be found and are enhanced elsewhere. -link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"- -script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"--/script- -script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"--/script-
and all three are required IMHO. otherwise it wont load.
@Aallam creating the bootstrap-3 folder worked for me.
I dug a little deeper and found that this issue is related to these changes: d4013448a16ca3d3381a087863d287d7b9f5b96f and cf5484f3f07fab4b5a62bf950db4b138c0854ca0.
I am on master
branch (commit hash https://github.com/plusjade/jekyll-bootstrap/commit/819386977cb483691f4ad77a3370e726f70ae98d ). I have the following errors:
[2016-09-24 23:00:24] ERROR `/assets/themes/bootstrap-3/bootstrap/css/bootstrap.min.css' not found.
[2016-09-24 23:00:24] ERROR `/assets/themes/bootstrap-3/bootstrap/css/bootstrap-theme.min.css' not found.
[2016-09-24 23:00:24] ERROR `/assets/themes/bootstrap-3/bootstrap/css/bs-sticky-footer.css' not found.
[2016-09-24 23:00:24] ERROR `/assets/themes/bootstrap-3/css/style.css' not found.
[2016-09-24 23:00:24] ERROR `/assets/themes/bootstrap-3/bootstrap/js/bootstrap.min.js' not found.
[2016-09-24 23:00:24] ERROR `/assets/themes/bootstrap-3/bootstrap/js/bootstrap.min.js' not found.
My fix is change ASSET_PATH : false
to ASSET_PATH : /assets/theme
in _config.yml
.
I changed the folder to bootsrtap-3 but this appears to be a problem for me still. 0 - Jekyll in 3 minutes you wish! More like 3 days if not 3 weeks.
Hello,
I'am a new user, i followed this instructions, but after running
jekyll serve
i get the following error (after i access to http://localhost:4000):[2016-03-21 17:32:43] ERROR '/assets/themes/bootstrap/css/bootstrap.min.css' not found. [2016-03-21 17:32:43] ERROR '/assets/themes/bootstrap/css/bootstrap-theme.min.css' not found. [2016-03-21 17:32:43] ERROR '/assets/themes/bootstrap/css/bs-sticky-footer.css' not found. [2016-03-21 17:32:43] ERROR '/assets/themes/css/style.css' not found. [2016-03-21 17:32:43] ERROR '/assets/themes/bootstrap/js/bootstrap.min.js' not found.
Meanwhile there is a folder in
assests/themes
namedbootstrap-3
.. !EDIT: after installing an other theme (twitter theme), the bootstrap errors are gone, but still have the following:
[2016-03-21 17:46:57] ERROR '/assets/themes/css/1.4.0/bootstrap.css' not found. [2016-03-21 17:46:57] ERROR '/assets/themes/css/style.css' not found.
EDIT2: Resolved the left errors by copying the folder '_theme_packages/twitter/assets/themes/twitter/css/' into 'assets/themes/'. Still, i don't think that i should have this the errors after a clean git clone !