From aa9b2ab640805c5f12ea8eb6de779033a107e1cf Mon Sep 17 00:00:00 2001 From: systemreliability <51009183+systemreliability@users.noreply.github.com> Date: Sun, 3 May 2026 09:32:43 +0200 Subject: [PATCH 1/2] Refine publication badge ordering --- _pages/publications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pages/publications.md b/_pages/publications.md index 03c2f9d7..693ead12 100644 --- a/_pages/publications.md +++ b/_pages/publications.md @@ -23,4 +23,4 @@ nav_order: 2 - + From 0d9a4369e504729ad26a24853dd04ab1ea927d87 Mon Sep 17 00:00:00 2001 From: systemreliability <51009183+systemreliability@users.noreply.github.com> Date: Sun, 3 May 2026 09:34:27 +0200 Subject: [PATCH 2/2] Refine publication badge ordering --- _layouts/bib.liquid | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) 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 %}