feat(layout): Add titles

This commit is contained in:
Khaled Garbaya
2017-09-27 13:55:19 +02:00
committed by Benedikt Rötsch
parent dcf4aa812c
commit 5e23150a5f
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ const router = express.Router()
/* GET home page. */
router.get('/', async function (req, res, next) {
const landingPage = await getLandingPage()
res.render('index', { landingPage })
res.render('index', { title: 'Contentful University', landingPage })
})
module.exports = router