We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6af0e0 commit 22735ceCopy full SHA for 22735ce
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