From 45a775020fc8b90c9cf7cd65669d48a2fb3edfc5 Mon Sep 17 00:00:00 2001 From: luiz-ladeira Date: Sat, 21 Oct 2023 21:25:47 +0200 Subject: [PATCH] bib update --- _layouts/bib.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/_layouts/bib.html b/_layouts/bib.html index d4ed6070a8a0..115bbd64dede 100644 --- a/_layouts/bib.html +++ b/_layouts/bib.html @@ -5,13 +5,12 @@
{%- if entry.preview -%} {% if entry.preview contains '://' -%} - + {%- else -%} {%- assign entry_path = entry.preview | prepend: '/assets/img/publication_preview/' -%} {% include figure.html path=entry_path class="preview z-depth-1 rounded" - zoomable=true alt=entry.preview -%} {%- endif -%} {%- elsif entry.abbr -%} @@ -168,6 +167,13 @@ {%- if entry.code %} Code {%- endif %} + {%- if entry.video %} + {% if entry.video contains '://' -%} + Video + {%- else -%} + Video + {%- endif %} + {%- endif %} {%- if entry.poster %} {% if entry.poster contains '://' -%} Poster