Update bib.liquid: google scholar citation count (#2892)
Fix site.data.socials.scholar_userid access for google scholar citation count Fixes #2889
This commit is contained in:
parent
ae4412ef3c
commit
b968de85e0
@ -310,13 +310,13 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if site.enable_publication_badges.google_scholar and entry_has_google_scholar_badge %}
|
{% if site.enable_publication_badges.google_scholar and entry_has_google_scholar_badge %}
|
||||||
<a
|
<a
|
||||||
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 }}"
|
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 }}"
|
||||||
aria-label="Google Scholar link"
|
aria-label="Google Scholar link"
|
||||||
role="button"
|
role="button"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src="https://img.shields.io/badge/scholar-{% google_scholar_citations site.scholar_userid entry.google_scholar_id %}-4285F4?logo=googlescholar&labelColor=beige"
|
src="https://img.shields.io/badge/scholar-{% google_scholar_citations site.data.socials.scholar_userid entry.google_scholar_id %}-4285F4?logo=googlescholar&labelColor=beige"
|
||||||
alt="{% google_scholar_citations site.scholar_userid entry.google_scholar_id %} Google Scholar citations"
|
alt="{% google_scholar_citations site.data.socials.scholar_userid entry.google_scholar_id %} Google Scholar citations"
|
||||||
>
|
>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user