From 1ed57cb0e0ec4c55d1ab7bf6cd7e5bd2c2d53927 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 6328a13f892e..8a3575a26148 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 %}