Skip to content

Commit

Permalink
Display booktitle for publications of type incollection (alshedivat#871)
Browse files Browse the repository at this point in the history
  • Loading branch information
beauby authored and Yuan Chiang committed Oct 2, 2022
1 parent 5d1a9fb commit b4a7e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/bib.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
<!-- Journal/Book title and date -->
{% if entry.type == "article" -%}
{%- capture entrytype -%}<em>{{entry.journal}}</em>{%- endcapture -%}
{%- elsif entry.type == "inproceedings" -%}
{%- elsif ["inproceedings", "incollection"] contains entry.type -%}
{%- capture entrytype -%}<em>In {{entry.booktitle}}</em> {%- endcapture -%}
{%- else -%}
{%- capture entrytype -%}{%- endcapture -%}
Expand Down

0 comments on commit b4a7e4c

Please sign in to comment.