fix categories in courses, small style fixes, landing page module adjustments

This commit is contained in:
Benedikt Rötsch
2017-09-27 18:41:16 +02:00
committed by Benedikt Rötsch
parent 23a0ac4a81
commit 1fb784e0d1
8 changed files with 20 additions and 8 deletions

View File

@@ -3,7 +3,7 @@ mixin courseCard(course = {fields: {title: '', description: '', categories: [],
.course-card__categories
if(course.fields.categories)
each category in course.fields.categories
a(href=`categories/${category.fields.slug}`) #{category.title}
a(href=`/courses/categories/${category.sys.id}`) #{category.fields.title}
.course-card__title
h2= course.fields.title
.course-card__description