Skip to content

Commit

Permalink
Don't add permalink and path properties in every page temporarily #38
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy351 committed Jan 7, 2013
1 parent b11758d commit 93eb133
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ module.exports = function(options, callback){

async.forEach(generator, function(item, next){
item(site, function(layout, path, locals){
locals.permalink = urlConfig + '/' + path;
locals.path = rootConfig + path;

var newLocals = {
page: locals,
site: site,
Expand Down

0 comments on commit 93eb133

Please sign in to comment.