{{ $collection_id := index (split .Params.anthology_id "-") 0 }} {{ $paper := index (index $.Site.Data.papers $collection_id) .Params.anthology_id }} {{ if not $paper.removed }}

{{- with $paper.pdf -}} pdf {{- end -}} {{- if and (not $paper.retracted) (fileExists (printf "/data-export/volumes/%s.bib" $paper.parent_volume_id)) -}} bib {{- end -}} {{- with $paper.abstract_html -}} {{- end -}}
{{- range $paper.award -}} {{- end -}} {{- range $paper.attachment -}} {{ partial "attachment_repr.html" . }} {{- end -}} {{- range $paper.video -}} {{- end -}} {{- with $paper.pwccode -}} {{- if (or (eq .additional "true") .url) -}} {{- end -}} {{- end -}}
{{ if eq hugo.Environment "development" }} {{ .Params.anthology_id }} {{ end }} {{ $paper.title_html | safeHTML }}
{{ with $paper.author }} {{ $len := (len $paper.author) }} {{ range $index, $person := $paper.author }} {{ partial "author_link.html" (dict "ctx" $ "person" $person) }} {{ if ne (add $index 1) $len }} | {{ end }} {{ end }} {{ end }}

{{ with $paper.abstract_html }}
{{ . | safeHTML }}
{{ end }} {{ end }}