Commit d9cdce85 authored by Administrator's avatar Administrator 💬

feat: use the `name` attribute when displaying lessons links

parent d87cb84c
......@@ -132,7 +132,7 @@
{% for lesson in page.header.lessons %}
<li>
<a href="/{{ language_selector.current }}/lessons/{{ lesson.slug }}">
{{ lesson.slug }}
{{ lesson.name ? lesson.name : lesson.slug }}
</a>
{# {{ lesson.slug }}#}
</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment