Skip to content

Commit

Permalink
Merge pull request #7 from rlmv/hook-comments
Browse files Browse the repository at this point in the history
fix page hook description
  • Loading branch information
SamyPesse committed Jun 27, 2014
2 parents 8edfcb7 + efeda12 commit b1b10a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ module.exports = {
// Before html generation
"page": function(page) {
// page.path is the path to the file
// page.content is a list of parsed sections
// page.sections is a list of parsed sections

// Example:
//page.content.unshift({type: "normal", content: "<h1>Title</h1>"})
//page.sections.unshift({type: "normal", content: "<h1>Title</h1>"})

return page;
},
Expand All @@ -73,4 +73,4 @@ module.exports = {
return page;
}
}
};
};

0 comments on commit b1b10a6

Please sign in to comment.