diff --git a/_data/socials.yml b/_data/socials.yml index aa3e2b6..5cd5261 100644 --- a/_data/socials.yml +++ b/_data/socials.yml @@ -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 diff --git a/_includes/metadata.liquid b/_includes/metadata.liquid index 15464ca..c44d64f 100644 --- a/_includes/metadata.liquid +++ b/_includes/metadata.liquid @@ -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 %} diff --git a/_includes/social.liquid b/_includes/social.liquid index 308a928..91b6ecc 100644 --- a/_includes/social.liquid +++ b/_includes/social.liquid @@ -20,6 +20,8 @@ {% when 'gitlab_username' %} + {% when 'hal_id' %} + {% when 'ieee_id' %} {% when 'inspirehep_id' %} diff --git a/_scripts/search.liquid.js b/_scripts/search.liquid.js index bdb03af..4d22315 100644 --- a/_scripts/search.liquid.js +++ b/_scripts/search.liquid.js @@ -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" -%}