-
Notifications
You must be signed in to change notification settings - Fork 0
/
publications.html
47 lines (41 loc) · 1.28 KB
/
publications.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!--
SPDX-FileCopyrightText: Copyright © 2024 André Anjos <[email protected]>
SPDX-License-Identifier: MIT
-->
{% extends "base.html" %}
{% block title %} – Publications{% endblock %}
{% block content %}
<article class="pybtex">
{% block content_header %}
<header>
<h2>
<a href="{{ SITEURL }}/publications" rel="bookmark" title="Permalink to Publications">Publications</a>
</h2>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(publications) }}
</header>
{% endblock %}
{% block before_content %}
{% endblock %}
{% block content_pybtex %}
<div id="pybtex">
{% for group in publications|groupby(attribute="year")|reverse %}
<h3 id="{{ group.grouper }}">{{ group.grouper }}</h3>
{% for item in group.list|sort(attribute="month")|reverse %}
<details id="pybtex-{{ item.key }}">
<summary>{{ item.html }}</summary>
{{ item.bibtex }}
</details>
{% endfor %}
{% endfor %}
</div>
{% endblock %}
{% block content_footer %}
<footer>
<p>
Last updated: {{ locale_date }}
</p>
</footer>
{% endblock %}
</article>
{% endblock %}