diff --git a/templates/publications.html b/templates/publications.html
index 7086a61..b335b12 100644
--- a/templates/publications.html
+++ b/templates/publications.html
@@ -27,16 +27,19 @@
{% block before_content %}{% endblock %}
-
- {% for key, year, text, bibtex, pdf, slides, poster in publications %}
- - {{ text }}
- [ Bibtex ]
- {% for label, target in [('PDF', pdf), ('Slides', slides), ('Poster', poster)] %}
- {{ "[ %s ]" % (target, label) if target }}
+ {% for group in publications|groupby(1)|reverse %}
+
{{ group.grouper }}
+
+ {% for key, year, text, bibtex, pdf, slides, poster in group.list %}
+ - {{ text }}
+ [ Bibtex ]
+ {% for label, target in [('PDF', pdf), ('Slides', slides), ('Poster', poster)] %}
+ {{ "[ %s ]" % (target, label) if target }}
{% endfor %}
-
+
+ {% endfor %}
+
{% endfor %}
-
{% block after_content %}{% endblock %}