diff --git a/README.md b/README.md index 4a8d708..ebe877a 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ Feel free to add your own page(s) by sending a PR. - + diff --git a/_data/socials.yml b/_data/socials.yml index 7011e9c..83b92a8 100644 --- a/_data/socials.yml +++ b/_data/socials.yml @@ -6,6 +6,7 @@ # organization: princeton # your organization as appears in the subdomain # username: AlbertEinstein # your username # acm_id: # your dl.acm.org/profile/id +# arxiv_id: # your arXiv author ID # blogger_url: # your blogger URL # bluesky_url: # your bluesky URL # dblp_url: # your DBLP profile url diff --git a/_includes/metadata.liquid b/_includes/metadata.liquid index b1155b6..e12e394 100644 --- a/_includes/metadata.liquid +++ b/_includes/metadata.liquid @@ -85,6 +85,9 @@ {% when 'acm_id' %} {% capture link %}https://dl.acm.org/profile/{{ social[1] }}/{% endcapture %} {% assign sameaslinks = sameaslinks | push: link %} + {% when 'arxiv_id' %} + {% capture link %}https://arxiv.org/a/{{ social[1] }}.html{% endcapture %} + {% assign sameaslinks = sameaslinks | push: link %} {% when 'blogger_url' %} {% capture link %}{{ social[1] }}{% endcapture %} {% assign sameaslinks = sameaslinks | push: link %} diff --git a/_includes/social.liquid b/_includes/social.liquid index 51907a4..d76d54e 100644 --- a/_includes/social.liquid +++ b/_includes/social.liquid @@ -4,6 +4,8 @@ {% when 'acm_id' %} + {% when 'arxiv_id' %} + {% when 'blogger_url' %} {% when 'bluesky_url' %} diff --git a/_scripts/search.liquid.js b/_scripts/search.liquid.js index 4d22315..8fcbaa7 100644 --- a/_scripts/search.liquid.js +++ b/_scripts/search.liquid.js @@ -107,6 +107,10 @@ ninja.data = [ {%- assign social_id = "social-acm" -%} {%- assign social_title = "ACM DL" -%} {%- capture social_url %}"https://dl.acm.org/profile/{{ social[1] }}/"{% endcapture -%} + {%- when "arxiv_id" -%} + {%- assign social_id = "social-arxiv" -%} + {%- assign social_title = "arXiv" -%} + {%- capture social_url %}"https://arxiv.org/a/{{ social[1] }}.html"{% endcapture -%} {%- when "blogger_url" -%} {%- assign social_id = "social-blogger" -%} {%- assign social_title = "Blogger" -%}