Skip to content

Commit

Permalink
fix bug where proceedings do not render (#913)
Browse files Browse the repository at this point in the history
  • Loading branch information
jveitchmichaelis committed Oct 2, 2022
1 parent bfc4725 commit 281cc82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _layouts/bib.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%}
Expand Down

0 comments on commit 281cc82

Please sign in to comment.