| layout | default | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| title | Publications | ||||||||||||||||
| years |
|
<table class="table">
<tbody>
{% for y in page.years %}
<!-- Show only the years that have papers -->
{% capture count_year %}{% bibliography_count -q @*[year={{y}}]* %}{% endcapture %}
{% if count_year != "0" %}
<tr>
<td>
<!-- <span class="date"> -->
<h2 class="year">{{y}}</h2>
<!-- </span> -->
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<!-- Each publication generates a row -->
{% bibliography -q @*[year={{y}}]* %}
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>