Browse Source

Merge pull request #7 from rlmv/hook-comments

fix page hook description
Samy Pessé 10 years ago
parent
commit
b1b10a618b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      index.js

+ 3 - 3
index.js

@@ -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;
         },
@@ -73,4 +73,4 @@ module.exports = {
             return page;
         }
     }
-};
+};