feat(courses): Add view helpers

This commit is contained in:
Khaled Garbaya
2017-09-26 17:52:10 +02:00
committed by Benedikt Rötsch
parent c650dd3f1c
commit 500b103c03
7 changed files with 32 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ mixin courseCard(course = {fields: {title: '', description: '', categories: [],
.course-card__title
h2= course.fields.title
.course-card__description
p= course.fields.shortDescription
p !{helpers.markdown(course.fields.shortDescription)}
.course-card__link
a(href=`/courses/${course.fields.slug}`) view course