diff options
Diffstat (limited to 'src/responders.js')
-rw-r--r-- | src/responders.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/responders.js b/src/responders.js index f85198f..8f084a3 100644 --- a/src/responders.js +++ b/src/responders.js @@ -93,7 +93,7 @@ module.exports = { postIndentLevel, indentForTemplate, - home(ctx, config, posts) { + home(ctx, config, { posts }) { ctx.type = "html"; ctx.body = layout( @@ -105,7 +105,7 @@ module.exports = { ); }, - list(ctx, config, listType, listName, posts) { + list(ctx, config, { listType, listName, posts }) { ctx.type = "html"; ctx.body = layout( @@ -117,7 +117,7 @@ module.exports = { ); }, - post(ctx, config, post) { + post(ctx, config, { post }) { ctx.type = "html"; ctx.body = layout( |