diff -r 3aa6f55df039 -r c07ffbab8647 templates/theme.html
--- a/templates/theme.html Wed Nov 27 12:40:37 2013 +0100
+++ b/templates/theme.html Wed Nov 27 13:09:28 2013 +0100
@@ -43,7 +43,7 @@
- PyMove3D -- 2014
+ PyMove3D -- 2014
- - Competition
- - Task
- - Submission
- - Course material
+ {% for href, caption in [('/competition', 'Competition'),
+ ('/task', 'Task'),
+ ('/submission', 'Submission'),
+ ('/coursematerial', 'Coursematerial'),
+ ]:
+ %}
+ {%- if href[1:] == act -%}
+ - {% else %}
- {% endif %}{{ caption }}
+ {% endfor %}