Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


make more newbie friendly: 'jekyll new blog' creates blog scaffold #631

tpo opened this Issue · 9 comments

4 participants

Tomáš Pospíšek Jake Bellacera Yutaka Ichibangase Parker Moore
Tomáš Pospíšek

'jekyll new blog' will create a new blog scaffold. You should have recieved a pull request that implements the feature.

Here's a demo:

$ jekyll new blog
Generated basic structure in blog
Please do 'cd blog && jekyll --server'
You then should be able to reach your site at http://localhost:4000

$ cd blog && jekyll --server
WARNING: Could not read configuration. Using defaults (and options).
No such file or directory - /tmp/blog/_config.yml
Building site: /tmp/blog -> /tmp/blog/_site
Successfully generated site: /tmp/blog -> /tmp/blog/_site
[2012-08-28 09:30:47] INFO WEBrick 1.3.1
[2012-08-28 09:30:47] INFO ruby 1.8.7 (2011-06-30) [x86_64-linux]
[2012-08-28 09:30:52] INFO WEBrick::HTTPServer#start: pid=11964 port=4000

$ find

Jake Bellacera

+1 I like!

Yutaka Ichibangase

I'm about to start blogging with Jekyll and this is the feature I want.
I made a quick modification to do this 'jekyll new blog' feature.

Tomáš Pospíšek
Tomáš Pospíšek
Yutaka Ichibangase

I didn't fork nor copy&paste your commit.
I just started writing it as soon as i saw this issue and didn't notice your commit on #632.
Yours is better, simpler. Mine is doing too much and messy (I should chdir as you mentioned).

Tomáš Pospíšek
Yutaka Ichibangase

So writing stuff like'_layouts/default.html') should
be portable.

Wow, that's new to me. Thanx!

You are including a DOCTYPE, title and setting charset to UTF-8. Is that
more robust (i.e. the better wiser to go?) ?

After the quick dirty modification, I'm thinking that the code for this 'jekyll new blog' feature sits on a wrong place.
It has to be refactored and where should the code be moved?
My answer is somewhere out of Jekyll's source code.

I'm not sure that this feature, as we implemented separetely, is a way to go in the first place.
Jekyll is a cool tool and It's a static site generator not a blogging engine.
Providing a blogging starting point should not be Jekyll's job but Octopress', Jekyll-Bootstrap's or other projects'

Tomáš Pospíšek
Parker Moore

Closing in favour of discussion on #632.

Parker Moore parkr closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.