Skip to content

Commit e88d8da

Browse files
committed
Add homework links to lesson back pages
Fixes: #256
1 parent ea96fa4 commit e88d8da

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

naucse/templates/coverpage.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ <h2>Taháky</h2>
3636
{{ material_list(session.materials, filter_type='cheatsheet') }}
3737
{% endif %}
3838

39+
{% if homework_section %}
40+
<h2>Domácí projekty</h2>
41+
{{ material_list(session.materials, filter_type='homework') }}
42+
{% endif %}
43+
3944
{% block coverpage_content %}
4045
{{ content }}
4146
{% endblock %}

0 commit comments

Comments
 (0)