diff --git a/_layouts/bib.html b/_layouts/bib.html
index f92d382..eb6520a 100644
--- a/_layouts/bib.html
+++ b/_layouts/bib.html
@@ -106,9 +106,10 @@
+ {% assign proceedings = "inproceedings, incollection" | split: ','%}
{% if entry.type == "article" -%}
{%- capture entrytype -%}{{entry.journal}}{%- endcapture -%}
- {%- elsif ["inproceedings", "incollection"] contains entry.type -%}
+ {%- elsif proceedings contains entry.type -%}
{%- capture entrytype -%}In {{entry.booktitle}} {%- endcapture -%}
{%- else -%}
{%- capture entrytype -%}{%- endcapture -%}