fix bug where proceedings do not render (#913)

This commit is contained in:
Josh Veitch-Michaelis 2022-10-02 14:51:25 +02:00 committed by GitHub
parent bfc47258d7
commit 281cc82d41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,9 +106,10 @@
</div>
<!-- Journal/Book title and date -->
{% assign proceedings = "inproceedings, incollection" | split: ','%}
{% if entry.type == "article" -%}
{%- capture entrytype -%}<em>{{entry.journal}}</em>{%- endcapture -%}
{%- elsif ["inproceedings", "incollection"] contains entry.type -%}
{%- elsif proceedings contains entry.type -%}
{%- capture entrytype -%}<em>In {{entry.booktitle}}</em> {%- endcapture -%}
{%- else -%}
{%- capture entrytype -%}{%- endcapture -%}