Skip to content

Commit 6a6cb05

Browse files
committed
Only showing the link for the metacourse on the main page
1 parent 20b519d commit 6a6cb05

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

naucse/templates/_base.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@
8585
</p>
8686
{% endif %}
8787

88-
<p>
89-
<a href="{{ url_for("course", course="course/meta") }}">Jak přidat kurz</a>
90-
</p>
88+
{% block extra_footer %}{% endblock %}
9189
</div>
9290
</div>
9391

naucse/templates/index.html

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
<link rel="stylesheet" href="{{url_for('static', filename='css/index.css')}}">
55
{% endblock extra_links%}
66

7+
{% block extra_footer %}
8+
<p>
9+
<a href="{{ url_for("course", course="course/meta") }}">Jak přidat kurz</a>
10+
</p>
11+
{% endblock %}
12+
713
{% block content %}
814

915
<section class="jumbotron jumbotron-fluid motivation"

0 commit comments

Comments
 (0)