diff options
author | Alan Pearce | 2017-06-25 13:08:36 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-25 13:08:36 +0200 |
commit | b959fe891cc975038a1d34b51192365b55cb7e7e (patch) | |
tree | e563b20b7277bb882a02d9644807297dfcb248f2 /src | |
parent | a7960192e2a268c02643a9374adb4d8798c15d5a (diff) | |
download | homestead-b959fe891cc975038a1d34b51192365b55cb7e7e.tar.lz homestead-b959fe891cc975038a1d34b51192365b55cb7e7e.tar.zst homestead-b959fe891cc975038a1d34b51192365b55cb7e7e.zip |
fix(responders): replace <main> from layout
Diffstat (limited to 'src')
-rw-r--r-- | src/responders.js | 4 |
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))) |