fix categories in courses, small style fixes, landing page module adjustments
This commit is contained in:
committed by
Benedikt Rötsch
parent
23a0ac4a81
commit
1fb784e0d1
@@ -11,7 +11,7 @@ exports.initClient = (config = {space: process.env.CF_SPACE, accessToken: proces
|
||||
exports.getCourses = () => {
|
||||
// to get all the courses we simply request from Contentful all the entries
|
||||
// with the content_type `course`
|
||||
return client.getEntries({content_type: 'course'})
|
||||
return client.getEntries({content_type: 'course', include: 10})
|
||||
.then((response) => response.items)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user