feat(handlers): Add generic error handler
This commit is contained in:
committed by
Benedikt Rötsch
parent
01fd3cc9b3
commit
67fc0edf62
@@ -26,3 +26,4 @@ mixin lesson(lesson, course, nextLesson)
|
||||
.lesson_footer
|
||||
if nextLesson
|
||||
a.lesson__cta.cta(href=`/courses/${course.fields.slug}/lessons/${nextLesson.fields.slug}${queryString}`) View next lesson
|
||||
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
mixin lessonModuleImage(module)
|
||||
.lesson-module.lesson-module-image
|
||||
<<<<<<< Updated upstream
|
||||
if module.fields.file && module.fields.file.url
|
||||
img.lesson-module-image__image(src=module.fields.file.url alt=module.fields.title)
|
||||
else
|
||||
h3 ⚠️ Image missing
|
||||
=======
|
||||
img.lesson-module-image__image(src=module.fields.image.fields.file.url alt=module.fields.image.fields.title)
|
||||
div.lesson-module-image__title #{module.fields.title}
|
||||
>>>>>>> Stashed changes
|
||||
|
||||
Reference in New Issue
Block a user