Add HAL id to socials (#3206)

Fixes #3205
This commit is contained in:
Guillaume Dalle 2025-07-16 17:24:37 +02:00 committed by GitHub
parent 2b97d46373
commit 72eb0a345d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 0 deletions

View File

@ -15,6 +15,7 @@ email: you@example.com # your email address
# ieee_id: # your ieeexplore.ieee.org/author/id
inspirehep_id: 1010907 # Inspire HEP author ID
# instagram_id: # your instagram id
# hal_id: # your HAL id (https://hal.science/)
# kaggle_id: # your kaggle id
# keybase_username: # your keybase user name
# lastfm_id: # your lastfm id

View File

@ -112,6 +112,10 @@
{% capture link %}https://www.scopus.com/authid/detail.uri?authorId={{ site.scopus_id }}{% endcapture %}
{% assign sameaslinks = sameaslinks | push: link %}
{% endif %}
{% if site.hal_id %}
{% capture link %}https://cv.hal.science/{{ site.hal_id }}{% endcapture %}
{% assign sameaslinks = sameaslinks | push: link %}
{% endif %}
{% if site.github_username %}
{% capture link %}https://github.com/{{ site.github_username }}{% endcapture %}
{% assign sameaslinks = sameaslinks | push: link %}

View File

@ -20,6 +20,8 @@
<a href="https://github.com/{{ social[1] }}" title="GitHub"><i class="fa-brands fa-github"></i></a>
{% when 'gitlab_username' %}
<a href="https://gitlab.com/{{ social[1] }}" title="GitLab"><i class="fa-brands fa-gitlab"></i></a>
{% when 'hal_id' %}
<a href="https://cv.hal.science/{{ social[1] }}/" title="HAL"><i class="ai ai-hal"></i></a>
{% when 'ieee_id' %}
<a href="https://ieeexplore.ieee.org/author/{{ social[1] }}/" title="IEEE Xplore"><i class="ai ai-ieee"></i></a>
{% when 'inspirehep_id' %}

View File

@ -143,6 +143,10 @@ ninja.data = [
{%- assign social_id = "social-gitlab" -%}
{%- assign social_title = "GitLab" -%}
{%- capture social_url %}"https://gitlab.com/{{ social[1] }}"{% endcapture -%}
{%- when "hal_id" -%}
{%- assign social_id = "social-hal" -%}
{%- assign social_title = "HAL" -%}
{%- capture social_url %}"https://cv.hal.science/{{ social[1] }}"{% endcapture -%}
{%- when "ieee_id" -%}
{%- assign social_id = "social-ieee" -%}
{%- assign social_title = "IEEE Xplore" -%}