feat(layout): Add titles
This commit is contained in:
committed by
Benedikt Rötsch
parent
dcf4aa812c
commit
5e23150a5f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user