-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jekyll build as of 2.x no longer builds a serveable sites #2317
Comments
Please post your _config.yml. |
I'm just using the standard one thats generated by jekyll new:
|
Change |
Changed baseurl to url
The default site now loads but is broken. |
Try baseurl: "/"
url: "http://yourdomain.com" Does that work? |
Updated _config as advised, |
Yes, and maybe your site is broken because you used |
@albertogg My site isn't broken, this is a brand new site generated by jekyll new as per the docs |
Yeah, Ben's updated site template ( #2268 ) uses baseurl heavily. Urgh. |
@sammcj I get the the same error when using baseurl: "/" setting it as an empty string, "", seems to not break the layout though |
let's check! and fix this. thanks @sammcj! |
No worries, hope it's an easy one. |
@parkr are you on it? I can fixit I assume. |
All I had to do was: diff --git a/_config.yml b/_config.yml
index 15256bf..2175150 100644
--- a/_config.yml
+++ b/_config.yml
@@ -3,7 +3,8 @@ name: Dat site title tho
title: Your awesome title
email: your-email@domain.com
description: "Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description."
-baseurl: "http://yourdomain.com"
+baseurl: ""
+url: "http://yourdomain.com"
# Build settings
markdown: kramdown to get it working perfectly. |
@parkr Confirmed working. Thanks guys, this was probably the fastest turnaround I've ever seen! |
Well, this is a busy night 😉 |
LOL, @troyswanson indeed. |
Already updated ;)
Love your work! |
Happy to help! Come back and file new issues as you run into them! :) |
Or hit us up on jekyll-help for more abstract web dev related questions! |
Browsing to localhost:4000 gives:
OSX 10.9.2
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin12.0]
The text was updated successfully, but these errors were encountered: