diff --git a/_layouts/bib.liquid b/_layouts/bib.liquid index 6e0b54c2..41335ee6 100644 --- a/_layouts/bib.liquid +++ b/_layouts/bib.liquid @@ -252,6 +252,12 @@ {% endif %} {% if site.enable_publication_badges %} + {% assign thesis_types = 'thesis,mastersthesis,phdthesis' | split: ',' %} + {% assign entry_is_thesis = false %} + {% if thesis_types contains entry.type %} + {% assign entry_is_thesis = true %} + {% endif %} + {% assign entry_has_altmetric_badge = false %} {% if entry.altmetric != 'false' %} {% if entry.altmetric or entry.arxiv or entry.eprint or entry.doi or entry.pmid or entry.isbn %} @@ -260,7 +266,7 @@ {% endif %} {% assign entry_has_dimensions_badge = false %} - {% if entry.dimensions != 'false' %} + {% if entry.dimensions != 'false' and entry_is_thesis == false %} {% if entry.doi or entry.pmid %} {% assign entry_has_dimensions_badge = true %} {% endif %} @@ -314,6 +320,18 @@ {% endif %} > {% endif %} + {% if site.enable_publication_badges.dimensions and entry_has_dimensions_badge %} + + {% endif %} {% if entry_has_openalex_badge %} {% capture openalex_api_url %}https://api.openalex.org/works/{{ entry.openalex_id }}?select=cited_by_count{% endcapture %} {% endif %} - {% if site.enable_publication_badges.dimensions and entry_has_dimensions_badge %} - - {% endif %} {% if site.enable_publication_badges.google_scholar and entry_has_google_scholar_badge %} - +