From 58eda5b6ab51165b8f729d39f1e3486b2a1c145a Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Sun, 19 Mar 2023 18:25:07 -0300 Subject: [PATCH] Added more options to altmetric badge, changed to arxiv code first (#1269) --- _layouts/bib.html | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/_layouts/bib.html b/_layouts/bib.html index 7629cbd4e693..919613aec4c2 100644 --- a/_layouts/bib.html +++ b/_layouts/bib.html @@ -8,8 +8,8 @@ {%- else -%} {%- assign entry_path = entry.preview | prepend: '/assets/img/publication_preview/' -%} - {% include figure.html - path=entry_path + {% include figure.html + path=entry_path class="preview z-depth-1 rounded" alt=entry.preview -%} {%- endif -%} @@ -187,12 +187,32 @@ {% if site.badges %}
- {%- if site.badges.altmetric_badge or entry.altmetric %} - - {%- endif %} - {%- if site.badges.dimensions_badge or entry.dimensions %} - - {%- endif %} + {%- if site.badges.altmetric_badge %} + + {%- endif %} + {%- if site.badges.dimensions_badge %} + + {%- endif %}
{%- endif %}