We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b6af0e0 + 22735ce commit 8f5b564Copy full SHA for 8f5b564
app/components/course-page/course-stage-step/your-task-card/index.ts
@@ -31,6 +31,9 @@ export default class YourTaskCardComponent extends Component<Signature> {
31
variables[`lang_is_${(language as LanguageModel).slug}`] = this.args.repository.language === language;
32
});
33
34
+ // Set placeholder language_name to a concrete one (Python) since it's the least awkward among all other options
35
+ variables['language_name'] = this.args.repository.language?.name || 'Python';
36
+
37
return Mustache.render(this.args.courseStage.descriptionMarkdownTemplate, variables);
38
}
39
0 commit comments