From 3b5ad5b0bf7ea20d775e065d73a5a5b1f4582da6 Mon Sep 17 00:00:00 2001 From: Josh Veitch-Michaelis Date: Sun, 2 Oct 2022 14:51:25 +0200 Subject: [PATCH] fix bug where proceedings do not render (#913) --- _layouts/bib.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_layouts/bib.html b/_layouts/bib.html index f92d3829edda..eb6520a2ea54 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 -%}