Comparing version 0.2.5 to 0.2.6
@@ -17,3 +17,3 @@ #!/usr/bin/env node | ||
if (isUsageIncorrect) { | ||
return console.error('Usage: blake path/to/input path/to/output [path/to/input/file …]'); | ||
return console.error('Usage: blake source_directory target_directory [source_file ...]'); | ||
} | ||
@@ -20,0 +20,0 @@ |
@@ -11,7 +11,7 @@ // This module generates the home page. | ||
var locals = { | ||
headline: 'Blake', | ||
subline: 'Agnostic site bakery', | ||
headline: 'blake', | ||
subline: 'agnostic site bakery', | ||
code: 'https://github.com/michaelnisi/blake', | ||
docs: 'http://michaelnisi.github.com/blake/blake.html', | ||
description: 'Blake is a Node.js module infrastructure to generate static websites.', | ||
description: 'blake generates sites', | ||
author: 'Michael Nisi', | ||
@@ -18,0 +18,0 @@ content: markdown.toHTML(src.body) |
@@ -138,10 +138,4 @@ // This module provides functions to deal with IO. | ||
var prepareDir = function (p, callback) { | ||
path.exists(p, function (exists) { | ||
if (!exists) { | ||
mkdirp(p, function (err) { | ||
callback(err); | ||
}); | ||
} else { | ||
callback(null); | ||
} | ||
mkdirp(p, function (err) { | ||
callback(err); | ||
}); | ||
@@ -148,0 +142,0 @@ }; |
{ | ||
"name": "blake", | ||
"description": "generate sites", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"homepage": "http://michaelnisi.github.com/blake/", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -177,7 +177,7 @@ # blake - generate sites | ||
You might want to read the [documentation](http://michaelnisi.github.com/michaelnisi/article.html) of the views for this site, which are written in [CoffeeScript](http://coffeescript.org/); not to put you off, just to give it a shot, as I found the use case fitting. | ||
You might want to read the [documentation](http://michaelnisi.github.com/michaelnisi/article.html) of the views for this site, which are written in [CoffeeScript](http://coffeescript.org/); not to put you off, just to give it a shot—I found the use case rather fitting. | ||
## DEPLOYMENT | ||
Of course you can build your site locally and upload it to your webserver manually, but I recommend to run Blake on your server, and use [post-receive hooks](http://help.github.com/post-receive-hooks/) to automatically generate your site on your server everytime you push to your input data repository. | ||
Of course you can build your site locally and upload it to your webserver manually, but I recommend to run Blake on a server, and use [post-receive hooks](http://help.github.com/post-receive-hooks/) to automatically generate your site on the server everytime you push to your input data repository. | ||
@@ -184,0 +184,0 @@ ## INSTALLATION |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
137508
782