all repos — archive/homestead @ b959fe891cc975038a1d34b51192365b55cb7e7e

My future indieweb platform

fix(responders): replace <main> from layout

Alan Pearce
commit

b959fe891cc975038a1d34b51192365b55cb7e7e

parent

a7960192e2a268c02643a9374adb4d8798c15d5a

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M src/responders.jssrc/responders.js
@@ -53,7 +53,7 @@ ctx.type = 'html'
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 @@ ctx.type = 'html'
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)))