feat(courses): Add Categories listing

This commit is contained in:
Khaled Garbaya
2017-09-26 15:24:12 +02:00
committed by Benedikt Rötsch
parent 0c66b6678c
commit 200a8ae2f1
4 changed files with 30 additions and 6 deletions

View File

@@ -5,7 +5,6 @@ const router = express.Router()
/* GET home page. */
router.get('/', async function (req, res, next) {
const landingPage = await getLandingPage()
console.log(landingPage.fields.contentModules[1].fields)
res.render('index', { landingPage })
})