add: arXiv social (#3191)

addresses the question #3176 and issue #3190

---------

Co-authored-by: George <31376482+george-gca@users.noreply.github.com>
This commit is contained in:
Riasat Sheikh 2025-11-17 10:31:18 +09:00 committed by GitHub
parent 723bc9f020
commit 4086784bc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 11 additions and 1 deletions

View File

@ -145,7 +145,7 @@ Feel free to add your own page(s) by sending a PR.
<a href="https://tonideleo.github.io/" target="_blank"></a>
<a href="https://alonkellner.com/" target="_blank"></a>
<a href="https://berylbir.github.io/" target="_blank"></a>
<a href="https://thefermi0n.github.io/" target="_blank"></a>
<a href="https://global-anomaly.github.io/" target="_blank"></a>
<a href="https://mingsun-kaust.github.io/" target="_blank"></a>
<a href="https://hdocmsu.github.io/" target="_blank"></a>
<a href="https://trandangtrungduc.github.io/" target="_blank"></a>

View File

@ -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

View File

@ -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 %}

View File

@ -4,6 +4,8 @@
<a href="https://{{ social[1].organization }}.academia.edu/{{ social[1].username }}" title="Academia.edu"><i class="ai ai-academia"></i></a>
{% when 'acm_id' %}
<a href="https://dl.acm.org/profile/{{ social[1] }}/" title="ACM DL"><i class="ai ai-acm"></i></a>
{% when 'arxiv_id' %}
<a href="https://arxiv.org/a/{{ social[1] }}.html" title="arXiv"><i class="ai ai-arxiv"></i></a>
{% when 'blogger_url' %}
<a href="{{ social[1] }}" title="Blogger"><i class="fa-brands fa-blogger-b"></i></a>
{% when 'bluesky_url' %}

View File

@ -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" -%}