[www] menu padding behaviour changed

This commit is contained in:
Roman Timashev committed 2017-10-15 14:05:38 +03:00
1 parent 6fa1b2ec12
commit 67870d2705
6 files changed
+5 -10

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ function getDocuments() {
)
ctx.type = 'text/html'
ctx.body = await render(path, Component, getDocumentsMeta())
ctx.body = await render(path, Component, getDocumentsMeta(), {menuPadding: true})
} else {
ctx.status = 404
}
+1 -1
View File
@@ -80,7 +80,7 @@ function getGallery() {
)
ctx.type = 'text/html'
ctx.body = await render(path, Component, getMeta())
ctx.body = await render(path, Component, getMeta(), {menuPadding: true})
} else {
ctx.status = 404
}
+1
View File
@@ -36,6 +36,7 @@ module.exports = function () {
path,
getComponent(page),
getPageMeta(page),
{menuPadding: true},
)
} else {
ctx.status = 404