{%- assign publications = site.publications | sort:"year" | reverse | group_by:"year" -%} {% for year in publications %}
-
{%- for publication in year.items -%}
- {%- assign i = 0 -%} {%- for involved in publication.authors -%} {%- assign found = false -%} {%- for person in site.people -%} {%- assign path = person.id | split: "/" -%} {%- assign id = path[2] -%} {%- if id == involved -%} {{- person.name -}}{{- "" -}} {% assign found = true -%} {%- endif -%} {%- endfor -%} {%- if found == false -%} {{- involved -}} {%- endif -%} {%- assign i = i | plus: 1 -%} {%- assign l = publication.authors | size -%} {%- if i < l -%} {{- " and " -}} {%- else -%} {{- ". " -}} {%- endif -%} {%- endfor -%} {{- publication.year -}}. {{- publication.title -}}. In {{- publication.venue -}}. {%- endfor -%}