Skip to content

Commit 10d9283

Browse files
committed
Fixed bug when fetching Google Scholar citations
Signed-off-by: George Araújo <[email protected]>
1 parent d6b075a commit 10d9283

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_layouts/bib.liquid

+3-3
Original file line numberDiff line numberDiff line change
@@ -310,13 +310,13 @@
310310
{% endif %}
311311
{% if site.enable_publication_badges.google_scholar and entry_has_google_scholar_badge %}
312312
<a
313-
href="https://scholar.google.com/citations?view_op=view_citation&hl=en&user={{ site.scholar_userid }}&citation_for_view={{ site.scholar_userid }}:{{ entry.google_scholar_id }}"
313+
href="https://scholar.google.com/citations?view_op=view_citation&hl=en&user={{ site.data.socials.scholar_userid }}&citation_for_view={{ site.data.socials.scholar_userid }}:{{ entry.google_scholar_id }}"
314314
aria-label="Google Scholar link"
315315
role="button"
316316
>
317317
<img
318-
src="https://img.shields.io/badge/scholar-{% google_scholar_citations site.scholar_userid entry.google_scholar_id %}-4285F4?logo=googlescholar&labelColor=beige"
319-
alt="{% google_scholar_citations site.scholar_userid entry.google_scholar_id %} Google Scholar citations"
318+
src="https://img.shields.io/badge/scholar-{% google_scholar_citations site.data.socials.scholar_userid entry.google_scholar_id %}-4285F4?logo=googlescholar&labelColor=beige"
319+
alt="{% google_scholar_citations site.data.socials.scholar_userid entry.google_scholar_id %} Google Scholar citations"
320320
>
321321
</a>
322322
{% endif %}

0 commit comments

Comments
 (0)