Order publications by year
This commit is contained in:
parent
3fbf3a5303
commit
4705112229
1 changed files with 11 additions and 8 deletions
|
@ -27,8 +27,10 @@
|
||||||
</header>
|
</header>
|
||||||
<div>
|
<div>
|
||||||
{% block before_content %}{% endblock %}
|
{% block before_content %}{% endblock %}
|
||||||
|
{% for group in publications|groupby(1)|reverse %}
|
||||||
|
<h3 id="{{ group.grouper }}">{{ group.grouper }}</h3>
|
||||||
<ul>
|
<ul>
|
||||||
{% for key, year, text, bibtex, pdf, slides, poster in publications %}
|
{% for key, year, text, bibtex, pdf, slides, poster in group.list %}
|
||||||
<li id="{{ key }}">{{ text }}
|
<li id="{{ key }}">{{ text }}
|
||||||
[ <a href="javascript:disp('{{ bibtex|replace('\n', '\\n')|escape|forceescape }}');">Bibtex</a> ]
|
[ <a href="javascript:disp('{{ bibtex|replace('\n', '\\n')|escape|forceescape }}');">Bibtex</a> ]
|
||||||
{% for label, target in [('PDF', pdf), ('Slides', slides), ('Poster', poster)] %}
|
{% for label, target in [('PDF', pdf), ('Slides', slides), ('Poster', poster)] %}
|
||||||
|
@ -37,6 +39,7 @@
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
{% endfor %}
|
||||||
{% block after_content %}{% endblock %}
|
{% block after_content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Reference in a new issue