We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40e9755 commit c45d2acCopy full SHA for c45d2ac
1 file changed
publications.md
@@ -10,9 +10,11 @@ mathjax: yes
10
{% assign publicationsSorted = site.data.publications | sort: "created" %}
11
12
{% for category in site.data.publication_types %}
13
+{% assign categoryPublications = publicationsSorted | where: "category", category %}
14
+{% unless categoryPublications.size == 0 %}
15
<h3>{{ category }}</h3>
16
<ul class="publication-list">
-{% for publication in publicationsSorted reversed %}
17
+{% for publication in categoryPublications reversed %}
18
{% if publication.category == category %}
19
<li class="publication">
20
<span class="publication-title">{{ publication.title }}</span>
@@ -45,4 +47,5 @@ mathjax: yes
45
47
{% endif %}
46
48
{% endfor %}
49
</ul>
50
+{% endunless %}
51
0 commit comments