summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/responders.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/responders.js b/src/responders.js
index 0cc6da8..778580c 100644
--- a/src/responders.js
+++ b/src/responders.js
@@ -53,7 +53,7 @@ module.exports = {
     ctx.body = templates
       .layout()
       .pipe(rheo())
-      .inner('main', showPage('post'))
+      .outer('main', showPage('post'))
       .inner('article h1', rheo(post.data.get('title')))
       .inner('article main', rheo(post.body))
       .pipe(setTitle(config.site.title, post.data.get('title')))
@@ -65,7 +65,7 @@ module.exports = {
     ctx.body = templates
       .layout()
       .pipe(rheo())
-      .inner('main', showPage('taxon'))
+      .outer('main', showPage('taxon'))
       .inner('h1', rheo(config.site.title))
       .inner('.posts', function (postsTemplate) {
         return taxonItems.pipe(postsTemplate.map(renderPostListItem(ctx)))