You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if it's possible in keystone.js to add a view.post in two different places. For example I have: app.get('/blog', views.blog) -> where I show view only in blog, but also I would like to show this in main page ('/') .
But if I do: app.get('/', views.blog) -> I see only this blog, no footer, nav and others sections. How can I implement this? Also I would like to show this blog in 404 page: keystone.set('404', (req, res) => { res.status(404).render('errors/404') })
but how can I add views.blog to this code.
Is keystone.js handle this?
The text was updated successfully, but these errors were encountered:
I was wondering if it's possible in
keystone.js
to add a view.post in two different places. For example I have:app.get('/blog', views.blog)
-> where I show view only in blog, but also I would like to show this in main page ('/') .But if I do:
app.get('/', views.blog)
-> I see only this blog, no footer, nav and others sections. How can I implement this? Also I would like to show this blog in 404 page:keystone.set('404', (req, res) => { res.status(404).render('errors/404') })
but how can I add
views.blog
to this code.Is
keystone.js
handle this?The text was updated successfully, but these errors were encountered: