Flexibility changes with App, main.hbs
This commit is contained in:
1 parent
be84058aba
commit
7bc34f9710
6 files changed
+25
-10
No files matched your search
@@ -115,7 +115,7 @@ function getArticle() {
|
||||
)
|
||||
|
||||
ctx.type = 'text/html'
|
||||
ctx.body = await render(path, Component, getMeta(article))
|
||||
ctx.body = await render(path, Component, getMeta(article), {commentsEnabled: true})
|
||||
} else {
|
||||
ctx.status = 404
|
||||
}
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@ function getHome(pageSize) {
|
||||
</div>
|
||||
)
|
||||
|
||||
ctx.body = await render(path, Component, getMeta({title: 'Шлиссельбургская ДХШ'}))
|
||||
ctx.body = await render(path, Component, getMeta({title: 'Шлиссельбургская ДХШ'}), {showAuthor: true})
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user