Moved socials config to _data/socials.yml (#2885)
Fixes #2882, added support for [scholar-icons](https://github.com/louisfacun/scholar-icons) and [LeetCode](https://leetcode.com/). --------- Signed-off-by: George Araújo <george.gcac@gmail.com>
This commit is contained in:
parent
84cf4aff3d
commit
e452f1a60f
51
_config.yml
51
_config.yml
@ -6,7 +6,8 @@ title: blank # the website title (if blank, full name will be used instead)
|
||||
first_name: You
|
||||
middle_name: R.
|
||||
last_name: Name
|
||||
email: you@example.com
|
||||
contact_note: >
|
||||
You can even add a little note about which of these is the best way to reach you.
|
||||
description: > # the ">" symbol means to ignore newlines until "footer_text:"
|
||||
A simple, whitespace theme for academics. Based on [*folio](https://github.com/bogoli/-folio) design.
|
||||
footer_text: >
|
||||
@ -67,54 +68,6 @@ serve_og_meta: false # Include Open Graph meta tags in the HTML head
|
||||
serve_schema_org: false # Include Schema.org in the HTML head
|
||||
og_image: # The site-wide (default for all links) Open Graph preview image
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Social integration
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
acm_id: # your dl.acm.org/profile/id
|
||||
blogger_url: # your blogger URL
|
||||
bluesky_url: # your bluesky URL
|
||||
dblp_url: # your DBLP profile url
|
||||
discord_id: # your discord id (18-digit unique numerical identifier)
|
||||
facebook_id: # your facebook id
|
||||
flickr_id: # your flickr id
|
||||
github_username: # your GitHub user name
|
||||
gitlab_username: # your GitLab user name
|
||||
ieee_id: # your ieeexplore.ieee.org/author/id
|
||||
inspirehep_id: 1010907 # Inspire HEP author ID
|
||||
instagram_id: # your instagram id
|
||||
kaggle_id: # your kaggle id
|
||||
keybase_username: # your keybase user name
|
||||
lastfm_id: # your lastfm id
|
||||
lattes_id: # your ID on Lattes (Brazilian Lattes CV)
|
||||
linkedin_username: # your LinkedIn user name
|
||||
mastodon_username: # your mastodon instance+username in the format instance.tld/@username
|
||||
medium_username: # your Medium username
|
||||
orcid_id: # your ORCID ID
|
||||
osf_id: # your OSF ID
|
||||
pinterest_id: # your pinterest id
|
||||
publons_id: # your ID on Publons
|
||||
quora_username: # your Quora username
|
||||
research_gate_profile: # your profile on ResearchGate
|
||||
scholar_userid: qc6CJjYAAAAJ # your Google Scholar ID
|
||||
scopus_id: # your profile on Scopus
|
||||
semanticscholar_id: # your Semantic Scholar ID
|
||||
spotify_id: # your spotify id
|
||||
stackoverflow_id: # your stackoverflow id
|
||||
telegram_username: # your Telegram user name
|
||||
unsplash_id: # your unsplash id
|
||||
wechat_qr: # filename of your wechat qr-code saved as an image (e.g., wechat-qr.png if saved to assets/img/wechat-qr.png)
|
||||
whatsapp_number: # your WhatsApp number (full phone number in international format. Omit any zeroes, brackets, or dashes when adding the phone number in international format.)
|
||||
wikidata_id: # your wikidata id
|
||||
wikipedia_id: # your wikipedia id (Case sensitive)
|
||||
work_url: # work page URL
|
||||
x_username: # your X handle
|
||||
youtube_id: # your youtube channel id (youtube.com/@<youtube_id>)
|
||||
zotero_username: # your zotero username
|
||||
|
||||
contact_note: >
|
||||
You can even add a little note about which of these is the best way to reach you.
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Analytics and search engine verification
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
51
_data/socials.yml
Normal file
51
_data/socials.yml
Normal file
@ -0,0 +1,51 @@
|
||||
# this file contains the social media links and usernames of the author
|
||||
# the commented lines are the default social media links supported by the template
|
||||
# the socials will be displayed in the order they are defined here
|
||||
|
||||
# acm_id: # your dl.acm.org/profile/id
|
||||
# blogger_url: # your blogger URL
|
||||
# bluesky_url: # your bluesky URL
|
||||
# dblp_url: # your DBLP profile url
|
||||
# discord_id: # your discord id (18-digit unique numerical identifier)
|
||||
email: you@example.com # your email address
|
||||
# facebook_id: # your facebook id
|
||||
# flickr_id: # your flickr id
|
||||
# github_username: # your GitHub user name
|
||||
# gitlab_username: # your GitLab user name
|
||||
# ieee_id: # your ieeexplore.ieee.org/author/id
|
||||
inspirehep_id: 1010907 # Inspire HEP author ID
|
||||
# instagram_id: # your instagram id
|
||||
# kaggle_id: # your kaggle id
|
||||
# keybase_username: # your keybase user name
|
||||
# lastfm_id: # your lastfm id
|
||||
# lattes_id: # your ID on Lattes (Brazilian Lattes CV)
|
||||
# leetcode_id: # your LeetCode id
|
||||
# linkedin_username: # your LinkedIn user name
|
||||
# mastodon_username: # your mastodon instance+username in the format instance.tld/@username
|
||||
# medium_username: # your Medium username
|
||||
# orcid_id: # your ORCID ID
|
||||
# osf_id: # your OSF ID
|
||||
# pinterest_id: # your pinterest id
|
||||
# publons_id: # your ID on Publons
|
||||
# quora_username: # your Quora username
|
||||
# research_gate_profile: # your profile on ResearchGate
|
||||
rss_icon: true # set to true to show the RSS icon
|
||||
scholar_userid: qc6CJjYAAAAJ # your Google Scholar ID
|
||||
# scopus_id: # your profile on Scopus
|
||||
# semanticscholar_id: # your Semantic Scholar ID
|
||||
# spotify_id: # your spotify id
|
||||
# stackoverflow_id: # your stackoverflow id
|
||||
# telegram_username: # your Telegram user name
|
||||
# unsplash_id: # your unsplash id
|
||||
# wechat_qr: # filename of your wechat qr-code saved as an image (e.g., wechat-qr.png if saved to assets/img/wechat-qr.png)
|
||||
# whatsapp_number: # your WhatsApp number (full phone number in international format. Omit any zeroes, brackets, or dashes when adding the phone number in international format.)
|
||||
# wikidata_id: # your wikidata id
|
||||
# wikipedia_id: # your wikipedia id (Case sensitive)
|
||||
# work_url: # work page URL
|
||||
# x_username: # your X handle
|
||||
# youtube_id: # your youtube channel id (youtube.com/@<youtube_id>)
|
||||
# zotero_username: # your zotero username
|
||||
custom_social: # can be any name here other than the ones already defined above
|
||||
logo: https://www.alberteinstein.com/wp-content/uploads/2024/03/cropped-favicon-192x192.png # can be png, svg, jpg
|
||||
title: Custom Social
|
||||
url: https://www.alberteinstein.com/
|
||||
@ -23,6 +23,7 @@
|
||||
|
||||
<!-- Fonts & Icons -->
|
||||
<link defer rel="stylesheet" href="{{ '/assets/css/academicons.min.css' | relative_url | bust_file_cache }}">
|
||||
<link defer rel="stylesheet" href="{{ '/assets/css/scholar-icons.css' | relative_url | bust_file_cache }}">
|
||||
<link
|
||||
defer
|
||||
rel="stylesheet"
|
||||
|
||||
@ -119,430 +119,201 @@
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
{%- if site.socials_in_search -%}
|
||||
{%- if site.email -%}
|
||||
{%- for social in site.data.socials -%}
|
||||
{%- case social[0] -%}
|
||||
{%- when "acm_id" -%}
|
||||
{%- assign social_id = "social-acm" -%}
|
||||
{%- assign social_title = "ACM DL" -%}
|
||||
{%- assign social_url = "https://dl.acm.org/profile/{{ social[1] }}/" -%}
|
||||
{%- when "blogger_url" -%}
|
||||
{%- assign social_id = "social-blogger" -%}
|
||||
{%- assign social_title = "Blogger" -%}
|
||||
{%- assign social_url = social[1] -%}
|
||||
{%- when "bluesky_url" -%}
|
||||
{%- assign social_id = "social-bluesky" -%}
|
||||
{%- assign social_title = "Bluesky" -%}
|
||||
{%- assign social_url = social[1] -%}
|
||||
{%- when "dblp_url" -%}
|
||||
{%- assign social_id = "social-dblp" -%}
|
||||
{%- assign social_title = "DBLP" -%}
|
||||
{%- assign social_url = social[1] -%}
|
||||
{%- when "discord_id" -%}
|
||||
{%- assign social_id = "social-discord" -%}
|
||||
{%- assign social_title = "Discord" -%}
|
||||
{%- assign social_url = "https://discord.com/users/{{ social[1] }}" -%}
|
||||
{%- when "email" -%}
|
||||
{%- assign social_id = "social-email" -%}
|
||||
{%- assign social_title = "email" -%}
|
||||
{%- assign social_url = "mailto:{{ site.email | encode_email }}" -%}
|
||||
{%- when "facebook_id" -%}
|
||||
{%- assign social_id = "social-facebook" -%}
|
||||
{%- assign social_title = "Facebook" -%}
|
||||
{%- assign social_url = "https://facebook.com/{{ social[1] }}" -%}
|
||||
{%- when "flickr_id" -%}
|
||||
{%- assign social_id = "social-flickr" -%}
|
||||
{%- assign social_title = "Flickr" -%}
|
||||
{%- assign social_url = "https://www.flickr.com/{{ social[1] }}" -%}
|
||||
{%- when "github_username" -%}
|
||||
{%- assign social_id = "social-github" -%}
|
||||
{%- assign social_title = "GitHub" -%}
|
||||
{%- assign social_url = "
|
||||
{%- when "gitlab_username" -%}
|
||||
{%- assign social_id = "social-gitlab" -%}
|
||||
{%- assign social_title = "GitLab" -%}
|
||||
{%- assign social_url = "https://gitlab.com/{{ social[1] }}" -%}
|
||||
{%- when "ieee_id" -%}
|
||||
{%- assign social_id = "social-ieee" -%}
|
||||
{%- assign social_title = "IEEE Xplore" -%}
|
||||
{%- assign social_url = "https://ieeexplore.ieee.org/author/{{ social[1] }}/" -%}
|
||||
{%- when "inspirehep_id" -%}
|
||||
{%- assign social_id = "social-inspire" -%}
|
||||
{%- assign social_title = "Inspire HEP" -%}
|
||||
{%- assign social_url = "https://inspirehep.net/authors/{{ social[1] }}" -%}
|
||||
{%- when "instagram_id" -%}
|
||||
{%- assign social_id = "social-instagram" -%}
|
||||
{%- assign social_title = "Instagram" -%}
|
||||
{%- assign social_url = "https://instagram.com/{{ social[1] }}" -%}
|
||||
{%- when "kaggle_id" -%}
|
||||
{%- assign social_id = "social-kaggle" -%}
|
||||
{%- assign social_title = "Kaggle" -%}
|
||||
{%- assign social_url = "https://www.kaggle.com/{{ social[1] }}" -%}
|
||||
{%- when "keybase_username" -%}
|
||||
{%- assign social_id = "social-keybase" -%}
|
||||
{%- assign social_title = "Keybase" -%}
|
||||
{%- assign social_url = "https://keybase.io/{{ social[1] }}" -%}
|
||||
{%- when "lastfm_id" -%}
|
||||
{%- assign social_id = "social-lastfm" -%}
|
||||
{%- assign social_title = "Last FM" -%}
|
||||
{%- assign social_url = "https://www.last.fm/user/{{ social[1] }}" -%}
|
||||
{%- when "lattes_id" -%}
|
||||
{%- assign social_id = "social-lattes" -%}
|
||||
{%- assign social_title = "Lattes" -%}
|
||||
{%- assign social_url = "http://lattes.cnpq.br/{{ social[1] }}" -%}
|
||||
{%- when "leetcode_id" -%}
|
||||
{%- assign social_id = "social-leetcode" -%}
|
||||
{%- assign social_title = "LeetCode" -%}
|
||||
{%- assign social_url = "https://leetcode.com/u/{{ social[1] }}/" -%}
|
||||
{%- when "linkedin_username" -%}
|
||||
{%- assign social_id = "social-linkedin" -%}
|
||||
{%- assign social_title = "LinkedIn" -%}
|
||||
{%- assign social_url = "https://www.linkedin.com/in/{{ social[1] }}" -%}
|
||||
{%- when "mastodon_username" -%}
|
||||
{%- assign social_id = "social-mastodon" -%}
|
||||
{%- assign social_title = "Mastodon" -%}
|
||||
{%- assign social_url = "https://{{ site.mastodon_username }}" -%}
|
||||
{%- when "medium_username" -%}
|
||||
{%- assign social_id = "social-medium" -%}
|
||||
{%- assign social_title = "Medium" -%}
|
||||
{%- assign social_url = "https://medium.com/@{{ social[1] }}" -%}
|
||||
{%- when "orcid_id" -%}
|
||||
{%- assign social_id = "social-orcid" -%}
|
||||
{%- assign social_title = "ORCID" -%}
|
||||
{%- assign social_url = "https://orcid.org/{{ social[1] }}" -%}
|
||||
{%- when "osf_id" -%}
|
||||
{%- assign social_id = "social-osf" -%}
|
||||
{%- assign social_title = "Open Science Framework" -%}
|
||||
{%- assign social_url = "https://osf.io/{{ social[1] }}/" -%}
|
||||
{%- when "pinterest_id" -%}
|
||||
{%- assign social_id = "social-pinterest" -%}
|
||||
{%- assign social_title = "Pinterest" -%}
|
||||
{%- assign social_url = "https://www.pinterest.com/{{ social[1] }}" -%}
|
||||
{%- when "publons_id" -%}
|
||||
{%- assign social_id = "social-publons" -%}
|
||||
{%- assign social_title = "Publons" -%}
|
||||
{%- assign social_url = "https://publons.com/a/{{ social[1] }}/" -%}
|
||||
{%- when "quora_username" -%}
|
||||
{%- assign social_id = "social-quora" -%}
|
||||
{%- assign social_title = "Quora" -%}
|
||||
{%- assign social_url = "https://www.quora.com/profile/{{ social[1] }}" -
|
||||
{%- when "research_gate_profile" -%}
|
||||
{%- assign social_id = "social-researchgate" -%}
|
||||
{%- assign social_title = "ResearchGate" -%}
|
||||
{%- assign social_url = "https://www.researchgate.net/profile/{{ social[1] }}/" -%}
|
||||
{%- when "rss_icon" -%}
|
||||
{%- assign social_id = "social-rss" -%}
|
||||
{%- assign social_title = "RSS Feed" -%}
|
||||
{%- assign social_url = "{{ site.baseurl }}/feed.xml" -%}
|
||||
{%- when "scholar_userid" -%}
|
||||
{%- assign social_id = "social-scholar" -%}
|
||||
{%- assign social_title = "Google Scholar" -%}
|
||||
{%- assign social_url = "https://scholar.google.com/citations?user={{ social[1] }}" -%}
|
||||
{%- when "scopus_id" -%}
|
||||
{%- assign social_id = "social-scopus" -%}
|
||||
{%- assign social_title = "Scopus" -%}
|
||||
{%- assign social_url = "https://www.scopus.com/authid/detail.uri?authorId={{ social[1] }}" -%}
|
||||
{%- when "semanticscholar_id" -%}
|
||||
{%- assign social_id = "social-semanticscholar" -%}
|
||||
{%- assign social_title = "Semantic Scholar" -%}
|
||||
{%- assign social_url = "https://www.semanticscholar.org/author/{{ social[1] }}" -%}
|
||||
{%- when "spotify_id" -%}
|
||||
{%- assign social_id = "social-spotify" -%}
|
||||
{%- assign social_title = "Spotify" -%}
|
||||
{%- assign social_url = "https://open.spotify.com/user/{{ social[1] }}" -%}
|
||||
{%- when "stackoverflow_id" -%}
|
||||
{%- assign social_id = "social-stackoverflow" -%}
|
||||
{%- assign social_title = "Stackoverflow" -%}
|
||||
{%- assign social_url = "https://stackoverflow.com/users/{{ social[1] }}" -%}
|
||||
{%- when "strava_userid" -%}
|
||||
{%- assign social_id = "social-strava" -%}
|
||||
{%- assign social_title = "Strava" -%}
|
||||
{%- assign social_url = "https://www.strava.com/athletes/{{ social[1] }}" -%}
|
||||
{%- when "telegram_username" -%}
|
||||
{%- assign social_id = "social-telegram" -%}
|
||||
{%- assign social_title = "telegram" -%}
|
||||
{%- assign social_url = "https://telegram.me/{{ social[1] }}" -%}
|
||||
{%- when "unsplash_id" -%}
|
||||
{%- assign social_id = "social-unsplash" -%}
|
||||
{%- assign social_title = "Unsplash" -%}
|
||||
{%- assign social_url = "https://unsplash.com/@{{ social[1] }}" -%}
|
||||
{%- comment -%}
|
||||
// check how to add wechat qr code
|
||||
{%- when "wechat_qr" -%}
|
||||
{%- assign social_id = "social-wechat" -%}
|
||||
{%- assign social_title = "WeChat" -%}
|
||||
{%- assign social_url = "https://wechat.com/{{ social[1] }}" -%}
|
||||
{%- endcomment -%}
|
||||
{%- when "whatsapp_number" -%}
|
||||
{%- assign social_id = "social-whatsapp" -%}
|
||||
{%- assign social_title = "whatsapp" -%}
|
||||
{%- assign social_url = "https://wa.me/{{ social[1] }}" -%}
|
||||
{%- when "wikidata_id" -%}
|
||||
{%- assign social_id = "social-wikidata" -%}
|
||||
{%- assign social_title = "Wikidata" -%}
|
||||
{%- assign social_url = "https://www.wikidata.org/wiki/{{ social[1] }}" -%}
|
||||
{%- when "wikipedia_id" -%}
|
||||
{%- assign social_id = "social-wikipedia" -%}
|
||||
{%- assign social_title = "Wikipedia" -%}
|
||||
{%- assign social_url = "https://wikipedia.org/wiki/User:{{ social[1] }}" -%}
|
||||
{%- when "work_url" -%}
|
||||
{%- assign social_id = "social-work" -%}
|
||||
{%- assign social_title = "Work" -%}
|
||||
{%- assign social_url = social[1] -%}
|
||||
{%- when "x_username" -%}
|
||||
{%- assign social_id = "social-x" -%}
|
||||
{%- assign social_title = "X" -%}
|
||||
{%- assign social_url = "https://twitter.com/{{ social[1] }}" -%}
|
||||
{%- when "youtube_id" -%}
|
||||
{%- assign social_id = "social-youtube" -%}
|
||||
{%- assign social_title = "YouTube" -%}
|
||||
{%- assign social_url = "https://youtube.com/@{{ social[1] }}" -%}
|
||||
{%- when "zotero_username" -%}
|
||||
{%- assign social_id = "social-zotero" -%}
|
||||
{%- assign social_title = "Zotero" -%}
|
||||
{%- assign social_url = "https://www.zotero.org/{{ social[1] }}" -%}
|
||||
{%- else -%}
|
||||
{%- assign social_id = "social-" | append: social[0] -%}
|
||||
{%- assign social_title = social[0] | capitalize -%}
|
||||
{%- assign social_url = social[1].url -%}
|
||||
{%- endcase -%}
|
||||
{
|
||||
id: 'socials-email',
|
||||
title: 'Send email',
|
||||
id: '{{ social_id }}',
|
||||
title: '{{ social_title }}',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("mailto:{{ site.email | encode_email }}", "_blank");
|
||||
window.open("{{ social_url }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.telegram_username -%}
|
||||
{
|
||||
id: 'socials-telegram',
|
||||
title: 'Telegram',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://telegram.me/{{ site.telegram_username }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.whatsapp_number -%}
|
||||
{
|
||||
id: 'socials-whatsapp',
|
||||
title: 'WhatsApp',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://wa.me/{{ site.whatsapp_number }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.orcid_id -%}
|
||||
{
|
||||
id: 'socials-orcid',
|
||||
title: 'ORCID',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://orcid.org/{{ site.orcid_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.scholar_userid -%}
|
||||
{
|
||||
id: 'socials-google-scholar',
|
||||
title: 'Google Scholar',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://scholar.google.com/citations?user={{ site.scholar_userid }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.semanticscholar_id -%}
|
||||
{
|
||||
id: 'socials-semantic-scholar',
|
||||
title: 'Semantic Scholar',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://www.semanticscholar.org/author/{{ site.semanticscholar_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.publons_id -%}
|
||||
{
|
||||
id: 'socials-publons',
|
||||
title: 'Publons',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://publons.com/a/{{ site.publons_id }}/", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.lattes_id -%}
|
||||
{
|
||||
id: 'socials-lattes',
|
||||
title: 'Lattes',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("http://lattes.cnpq.br/{{ site.lattes_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.osf_id -%}
|
||||
{
|
||||
id: 'socials-open-science-framework',
|
||||
title: 'Open Science Framework',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://osf.io/{{ site.osf_id }}/", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.research_gate_profile -%}
|
||||
{
|
||||
id: 'socials-researchgate',
|
||||
title: 'ResearchGate',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://www.researchgate.net/profile/{{ site.research_gate_profile }}/", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.ieee_id -%}
|
||||
{
|
||||
id: 'socials-ieee-xplore',
|
||||
title: 'IEEE Xplore',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://ieeexplore.ieee.org/author/{{ site.ieee_id }}/", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.acm_id -%}
|
||||
{
|
||||
id: 'socials-acm-dl',
|
||||
title: 'ACM DL',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://dl.acm.org/profile/{{ site.acm_id }}/", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.scopus_id -%}
|
||||
{
|
||||
id: 'socials-scopus',
|
||||
title: 'Scopus',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://www.scopus.com/authid/detail.uri?authorId={{ site.scopus_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.github_username -%}
|
||||
{
|
||||
id: 'socials-github',
|
||||
title: 'GitHub',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://github.com/{{ site.github_username }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.linkedin_username -%}
|
||||
{
|
||||
id: 'socials-linkedin',
|
||||
title: 'LinkedIn',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://www.linkedin.com/in/{{ site.linkedin_username }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.x_username -%}
|
||||
{
|
||||
id: 'socials-x',
|
||||
title: 'X',
|
||||
description: 'Twitter',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://twitter.com/{{ site.x_username }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.mastodon_username -%}
|
||||
{
|
||||
id: 'socials-mastodon',
|
||||
title: 'Mastodon',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://{{ site.mastodon_username }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.medium_username -%}
|
||||
{
|
||||
id: 'socials-medium',
|
||||
title: 'Medium',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://medium.com/@{{ site.medium_username }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.quora_username -%}
|
||||
{
|
||||
id: 'socials-quora',
|
||||
title: 'Quora',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://www.quora.com/profile/{{ site.quora_username }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.flickr_id -%}
|
||||
{
|
||||
id: 'socials-flickr',
|
||||
title: 'Flickr',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://www.flickr.com/{{ site.flickr_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.blogger_url -%}
|
||||
{
|
||||
id: 'socials-blogger',
|
||||
title: 'Blogger',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("{{ site.blogger_url }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.work_url -%}
|
||||
{
|
||||
id: 'socials-work',
|
||||
title: 'Work',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("{{ site.work_url }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.wikidata_id -%}
|
||||
{
|
||||
id: 'socials-wikidata',
|
||||
title: 'Wikidata',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://www.wikidata.org/wiki/{{ site.wikidata_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.wikipedia_id -%}
|
||||
{
|
||||
id: 'socials-wikipedia',
|
||||
title: 'Wikipedia',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://wikipedia.org/wiki/User:{{ site.wikipedia_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.strava_userid -%}
|
||||
{
|
||||
id: 'socials-strava',
|
||||
title: 'Strava',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://www.strava.com/athletes/{{ site.strava_userid }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.keybase_username -%}
|
||||
{
|
||||
id: 'socials-keybase',
|
||||
title: 'Keybase',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://keybase.io/{{ site.keybase_username }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.gitlab_username -%}
|
||||
{
|
||||
id: 'socials-gitlab',
|
||||
title: 'GitLab',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://gitlab.com/{{ site.gitlab_username }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.dblp_url -%}
|
||||
{
|
||||
id: 'socials-dblp',
|
||||
title: 'DBLP',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("{{ site.dblp_url }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.stackoverflow_id -%}
|
||||
{
|
||||
id: 'socials-stackoverflow',
|
||||
title: 'Stackoverflow',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://stackoverflow.com/users/{{ site.stackoverflow_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.kaggle_id -%}
|
||||
{
|
||||
id: 'socials-kaggle',
|
||||
title: 'Kaggle',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://www.kaggle.com/{{ site.kaggle_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.lastfm_id -%}
|
||||
{
|
||||
id: 'socials-last-fm',
|
||||
title: 'Last FM',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://www.last.fm/user/{{ site.lastfm_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.spotify_id -%}
|
||||
{
|
||||
id: 'socials-spotify',
|
||||
title: 'Spotify',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://open.spotify.com/user/{{ site.spotify_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.pinterest_id -%}
|
||||
{
|
||||
id: 'socials-pinterest',
|
||||
title: 'Pinterest',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://www.pinterest.com/{{ site.pinterest_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.unsplash_id -%}
|
||||
{
|
||||
id: 'socials-unsplash',
|
||||
title: 'Unsplash',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://unsplash.com/@{{ site.unsplash_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.instagram_id -%}
|
||||
{
|
||||
id: 'socials-instagram',
|
||||
title: 'Instagram',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://instagram.com/{{ site.instagram_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.facebook_id -%}
|
||||
{
|
||||
id: 'socials-facebook',
|
||||
title: 'Facebook',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://facebook.com/{{ site.facebook_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.bluesky_url -%}
|
||||
{
|
||||
id: 'socials-bluesky',
|
||||
title: 'Bluesky',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://bsky.app/profile/{{ site.bluesky_url }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.youtube_id -%}
|
||||
{
|
||||
id: 'socials-youtube',
|
||||
title: 'YouTube',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://youtube.com/@{{ site.youtube_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.discord_id -%}
|
||||
{
|
||||
id: 'socials-discord',
|
||||
title: 'Discord',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://discord.com/users/{{ site.discord_id }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.zotero_username -%}
|
||||
{
|
||||
id: 'socials-zotero',
|
||||
title: 'Zotero',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("https://www.zotero.org/{{ site.zotero_username }}", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- if site.rss_icon -%}
|
||||
{
|
||||
id: 'socials-rss',
|
||||
title: 'RSS Feed',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("{{ site.baseurl }}/feed.xml", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- comment -%}
|
||||
{%- if site.wechat_qr -%}
|
||||
// check how to add wechat qr code
|
||||
{
|
||||
id: 'socials-wechat',
|
||||
title: 'WeChat',
|
||||
section: 'Socials',
|
||||
handler: () => {
|
||||
window.open("", "_blank");
|
||||
},
|
||||
},
|
||||
{%- endif -%}
|
||||
{%- endcomment -%}
|
||||
{%- endfor -%}
|
||||
{%- endif -%}
|
||||
{%- if site.enable_darkmode -%}
|
||||
{
|
||||
|
||||
@ -1,133 +1,110 @@
|
||||
{% if site.email %}
|
||||
<a href="mailto:{{ site.email | encode_email }}" title="email"><i class="fa-solid fa-envelope"></i></a>
|
||||
{% endif %}
|
||||
{% if site.telegram_username %}
|
||||
<a href="https://telegram.me/{{ site.telegram_username }}" title="telegram"><i class="fa-brands fa-telegram"></i></a>
|
||||
{% endif %}
|
||||
{% if site.whatsapp_number %}
|
||||
<a href="https://wa.me/{{ site.whatsapp_number }}" title="whatsapp"><i class="fa-brands fa-whatsapp"></i></a>
|
||||
{% endif %}
|
||||
{% if site.orcid_id %}
|
||||
<a href="https://orcid.org/{{ site.orcid_id }}" title="ORCID"><i class="ai ai-orcid"></i></a>
|
||||
{% endif %}
|
||||
{% if site.scholar_userid %}
|
||||
<a href="https://scholar.google.com/citations?user={{ site.scholar_userid }}" title="Google Scholar"><i class="ai ai-google-scholar"></i></a>
|
||||
{% endif %}
|
||||
{% if site.inspirehep_id %}
|
||||
<a href="https://inspirehep.net/authors/{{ site.inspirehep_id }}" title="Inspire HEP"><i class="ai ai-inspire"></i></a>
|
||||
{% endif %}
|
||||
{% if site.semanticscholar_id %}
|
||||
<a href="https://www.semanticscholar.org/author/{{ site.semanticscholar_id }}" title="Semantic Scholar"><i class="ai ai-semantic-scholar"></i></a>
|
||||
{% endif %}
|
||||
{% if site.publons_id %}
|
||||
<a href="https://publons.com/a/{{ site.publons_id }}/" title="Publons"><i class="ai ai-publons"></i></a>
|
||||
{% endif %}
|
||||
{% if site.lattes_id %}
|
||||
<a href="http://lattes.cnpq.br/{{ site.lattes_id }}" target="_blank" title="Lattes"><i class="ai ai-lattes"></i></a>
|
||||
{% endif %}
|
||||
{% if site.osf_id %}
|
||||
<a href="https://osf.io/{{ site.osf_id }}/" title="Open Science Framework"><i class="ai ai-osf"></i></a>
|
||||
{% endif %}
|
||||
{% if site.research_gate_profile %}
|
||||
<a href="https://www.researchgate.net/profile/{{ site.research_gate_profile }}/" title="ResearchGate"><i class="ai ai-researchgate"></i></a>
|
||||
{% endif %}
|
||||
{% if site.ieee_id %}
|
||||
<a href="https://ieeexplore.ieee.org/author/{{ site.ieee_id }}/" title="IEEE Xplore"><i class="ai ai-ieee"></i></a>
|
||||
{% endif %}
|
||||
{% if site.acm_id %}
|
||||
<a href="https://dl.acm.org/profile/{{ site.acm_id }}/" title="ACM DL"><i class="ai ai-acm"></i></a>
|
||||
{% endif %}
|
||||
{% if site.scopus_id %}
|
||||
<a href="https://www.scopus.com/authid/detail.uri?authorId={{ site.scopus_id }}" title="Scopus"><i class="ai ai-scopus"></i></a>
|
||||
{% endif %}
|
||||
{% if site.github_username %}
|
||||
<a href="https://github.com/{{ site.github_username }}" title="GitHub"><i class="fa-brands fa-github"></i></a>
|
||||
{% endif %}
|
||||
{% if site.linkedin_username %}
|
||||
<a href="https://www.linkedin.com/in/{{ site.linkedin_username }}" title="LinkedIn"><i class="fa-brands fa-linkedin"></i></a>
|
||||
{% endif %}
|
||||
{% if site.x_username %}
|
||||
<a href="https://twitter.com/{{ site.x_username }}" title="X"><i class="fa-brands fa-x-twitter"></i></a>
|
||||
{% endif %}
|
||||
{% if site.mastodon_username %}
|
||||
<a rel="me" href="https://{{ site.mastodon_username }}" title="Mastodon"><i class="fa-brands fa-mastodon"></i></a>
|
||||
{% endif %}
|
||||
{% if site.medium_username %}
|
||||
<a href="https://medium.com/@{{ site.medium_username }}" title="Medium"><i class="fa-brands fa-medium"></i></a>
|
||||
{% endif %}
|
||||
{% if site.quora_username %}
|
||||
<a href="https://www.quora.com/profile/{{ site.quora_username }}" title="Quora"><i class="fa-brands fa-quora"></i></a>
|
||||
{% endif %}
|
||||
{% if site.flickr_id %}
|
||||
<a href="https://www.flickr.com/{{ site.flickr_id }}" title="Flickr"><i class="fa-brands fa-flickr"></i></a>
|
||||
{% endif %}
|
||||
{% if site.blogger_url %}
|
||||
<a href="{{ site.blogger_url }}" title="Blogger"><i class="fa-brands fa-blogger-b"></i></a>
|
||||
{% endif %}
|
||||
{% if site.work_url %}
|
||||
<a href="{{ site.work_url }}" title="Work"><i class="fa-solid fa-briefcase"></i></a>
|
||||
{% endif %}
|
||||
{% if site.wikidata_id %}
|
||||
<a href="https://www.wikidata.org/wiki/{{ site.wikidata_id }}" title="Wikidata"><i class="fa-solid fa-barcode"></i></a>
|
||||
{% endif %}
|
||||
{% if site.wikipedia_id %}
|
||||
<a href="https://wikipedia.org/wiki/User:{{ site.wikipedia_id }}" title="Wikipedia"><i class="fa-brands fa-wikipedia-w"></i></a>
|
||||
{% endif %}
|
||||
{% if site.strava_userid %}
|
||||
<a href="https://www.strava.com/athletes/{{ site.strava_userid }}" title="Strava"><i class="fa-brands fa-strava"></i></a>
|
||||
{% endif %}
|
||||
{% if site.keybase_username %}
|
||||
<a href="https://keybase.io/{{ site.keybase_username }}" title="Keybase"><i class="fa-brands fa-keybase"></i></a>
|
||||
{% endif %}
|
||||
{% if site.gitlab_username %}
|
||||
<a href="https://gitlab.com/{{ site.gitlab_username }}" title="GitLab"><i class="fa-brands fa-gitlab"></i></a>
|
||||
{% endif %}
|
||||
{% if site.dblp_url %}
|
||||
<a href="{{ site.dblp_url }}" title="DBLP"><i class="ai ai-dblp"></i></a>
|
||||
{% endif %}
|
||||
{% if site.stackoverflow_id %}
|
||||
<a href="https://stackoverflow.com/users/{{ site.stackoverflow_id }}" title="Stackoverflow"><i class="fa-brands fa-stack-overflow"></i></a>
|
||||
{% endif %}
|
||||
{% if site.kaggle_id %}
|
||||
<a href="https://www.kaggle.com/{{ site.kaggle_id }}" title="Kaggle"><i class="fa-brands fa-kaggle"></i></a>
|
||||
{% endif %}
|
||||
{% if site.lastfm_id %}
|
||||
<a href="https://www.last.fm/user/{{ site.lastfm_id }}" title="Last FM"><i class="fa-brands fa-lastfm"></i></a>
|
||||
{% endif %}
|
||||
{% if site.spotify_id %}
|
||||
<a href="https://open.spotify.com/user/{{ site.spotify_id }}" title="Spotify"><i class="fa-brands fa-spotify"></i></a>
|
||||
{% endif %}
|
||||
{% if site.pinterest_id %}
|
||||
<a href="https://www.pinterest.com/{{ site.pinterest_id }}" title="Pinterest"><i class="fa-brands fa-pinterest"></i></a>
|
||||
{% endif %}
|
||||
{% if site.unsplash_id %}
|
||||
<a href="https://unsplash.com/@{{ site.unsplash_id }}" title="Unsplash"><i class="fa-brands fa-unsplash"></i></a>
|
||||
{% endif %}
|
||||
{% if site.instagram_id %}
|
||||
<a href="https://instagram.com/{{ site.instagram_id }}" title="Instagram"><i class="fa-brands fa-instagram"></i></a>
|
||||
{% endif %}
|
||||
{% if site.facebook_id %}
|
||||
<a href="https://facebook.com/{{ site.facebook_id }}" title="Facebook"><i class="fa-brands fa-facebook"></i></a>
|
||||
{% endif %}
|
||||
{% if site.bluesky_url %}
|
||||
<a href="{{ site.bluesky_url }}" title="Bluesky"><i class="fa-brands fa-bluesky"></i></a>
|
||||
{% endif %}
|
||||
{% if site.youtube_id %}
|
||||
<a href="https://youtube.com/@{{ site.youtube_id }}" title="YouTube"><i class="fa-brands fa-youtube"></i></a>
|
||||
{% endif %}
|
||||
{% if site.discord_id %}
|
||||
<a href="https://discord.com/users/{{ site.discord_id }}" title="Discord"><i class="fa-brands fa-discord"></i></a>
|
||||
{% endif %}
|
||||
{% if site.zotero_username %}
|
||||
<a href="https://www.zotero.org/{{ site.zotero_username }}" title="Zotero"><i class="ai ai-zotero"></i></a>
|
||||
{% endif %}
|
||||
{% if site.rss_icon %}
|
||||
<a href="{{ site.baseurl }}/feed.xml" title="RSS Feed"><i class="fa-solid fa-square-rss"></i></a>
|
||||
{% endif %}
|
||||
{% if site.wechat_qr %}
|
||||
<a id="WeChatBtn" title="WeChat"><i class="fa-brands fa-weixin"></i></a>
|
||||
<div id="WeChatMod" class="wechat-modal">
|
||||
<img src="{{ site.wechat_qr | prepend: 'assets/img/' | relative_url }}" alt="WeChat QR" id="WeChatQR">
|
||||
</div>
|
||||
{% include scripts/wechatModal.liquid %}
|
||||
{% endif %}
|
||||
{% for social in site.data.socials %}
|
||||
{% case social[0] %}
|
||||
{% when 'acm_id' %}
|
||||
<a href="https://dl.acm.org/profile/{{ social[1] }}/" title="ACM DL"><i class="ai ai-acm"></i></a>
|
||||
{% when 'blogger_url' %}
|
||||
<a href="{{ social[1] }}" title="Blogger"><i class="fa-brands fa-blogger-b"></i></a>
|
||||
{% when 'bluesky_url' %}
|
||||
<a href="{{ social[1] }}" title="Bluesky"><i class="fa-brands fa-bluesky"></i></a>
|
||||
{% when 'dblp_url' %}
|
||||
<a href="{{ social[1] }}" title="DBLP"><i class="ai ai-dblp"></i></a>
|
||||
{% when 'discord_id' %}
|
||||
<a href="https://discord.com/users/{{ social[1] }}" title="Discord"><i class="fa-brands fa-discord"></i></a>
|
||||
{% when 'email' %}
|
||||
<a href="mailto:{{ site.email | encode_email }}" title="email"><i class="fa-solid fa-envelope"></i></a>
|
||||
{% when 'facebook_id' %}
|
||||
<a href="https://facebook.com/{{ social[1] }}" title="Facebook"><i class="fa-brands fa-facebook"></i></a>
|
||||
{% when 'flickr_id' %}
|
||||
<a href="https://www.flickr.com/{{ social[1] }}" title="Flickr"><i class="fa-brands fa-flickr"></i></a>
|
||||
{% when 'github_username' %}
|
||||
<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 'ieee_id' %}
|
||||
<a href="https://ieeexplore.ieee.org/author/{{ social[1] }}/" title="IEEE Xplore"><i class="ai ai-ieee"></i></a>
|
||||
{% when 'inspirehep_id' %}
|
||||
<a href="https://inspirehep.net/authors/{{ social[1] }}" title="Inspire HEP"><i class="ai ai-inspire"></i></a>
|
||||
{% when 'instagram_id' %}
|
||||
<a href="https://instagram.com/{{ social[1] }}" title="Instagram"><i class="fa-brands fa-instagram"></i></a>
|
||||
{% when 'kaggle_id' %}
|
||||
<a href="https://www.kaggle.com/{{ social[1] }}" title="Kaggle"><i class="fa-brands fa-kaggle"></i></a>
|
||||
{% when 'keybase_username' %}
|
||||
<a href="https://keybase.io/{{ social[1] }}" title="Keybase"><i class="fa-brands fa-keybase"></i></a>
|
||||
{% when 'lastfm_id' %}
|
||||
<a href="https://www.last.fm/user/{{ social[1] }}" title="Last FM"><i class="fa-brands fa-lastfm"></i></a>
|
||||
{% when 'lattes_id' %}
|
||||
<a href="http://lattes.cnpq.br/{{ social[1] }}" target="_blank" title="Lattes"><i class="ai ai-lattes"></i></a>
|
||||
{% when 'leetcode_id' %}
|
||||
<a href="https://leetcode.com/u/{{ social[1] }}/" target="_blank" title="LeetCode"><i class="si si-leetcode"></i></a>
|
||||
{% when 'linkedin_username' %}
|
||||
<a href="https://www.linkedin.com/in/{{ social[1] }}" title="LinkedIn"><i class="fa-brands fa-linkedin"></i></a>
|
||||
{% when 'mastodon_username' %}
|
||||
<a rel="me" href="https://{{ site.mastodon_username }}" title="Mastodon"><i class="fa-brands fa-mastodon"></i></a>
|
||||
{% when 'medium_username' %}
|
||||
<a href="https://medium.com/@{{ social[1] }}" title="Medium"><i class="fa-brands fa-medium"></i></a>
|
||||
{% when 'orcid_id' %}
|
||||
<a href="https://orcid.org/{{ social[1] }}" title="ORCID"><i class="ai ai-orcid"></i></a>
|
||||
{% when 'osf_id' %}
|
||||
<a href="https://osf.io/{{ social[1] }}/" title="Open Science Framework"><i class="ai ai-osf"></i></a>
|
||||
{% when 'pinterest_id' %}
|
||||
<a href="https://www.pinterest.com/{{ social[1] }}" title="Pinterest"><i class="fa-brands fa-pinterest"></i></a>
|
||||
{% when 'publons_id' %}
|
||||
<a href="https://publons.com/a/{{ social[1] }}/" title="Publons"><i class="ai ai-publons"></i></a>
|
||||
{% when 'quora_username' %}
|
||||
<a href="https://www.quora.com/profile/{{ social[1] }}" title="Quora"><i class="fa-brands fa-quora"></i></a>
|
||||
{% when 'research_gate_profile' %}
|
||||
<a href="https://www.researchgate.net/profile/{{ social[1] }}/" title="ResearchGate"><i class="ai ai-researchgate"></i></a>
|
||||
{% when 'rss_icon' %}
|
||||
<a href="{{ site.baseurl }}/feed.xml" title="RSS Feed"><i class="fa-solid fa-square-rss"></i></a>
|
||||
{% when 'scholar_userid' %}
|
||||
<a href="https://scholar.google.com/citations?user={{ social[1] }}" title="Google Scholar"><i class="ai ai-google-scholar"></i></a>
|
||||
{% when 'scopus_id' %}
|
||||
<a href="https://www.scopus.com/authid/detail.uri?authorId={{ social[1] }}" title="Scopus"><i class="ai ai-scopus"></i></a>
|
||||
{% when 'semanticscholar_id' %}
|
||||
<a href="https://www.semanticscholar.org/author/{{ social[1] }}" title="Semantic Scholar"><i class="ai ai-semantic-scholar"></i></a>
|
||||
{% when 'spotify_id' %}
|
||||
<a href="https://open.spotify.com/user/{{ social[1] }}" title="Spotify"><i class="fa-brands fa-spotify"></i></a>
|
||||
{% when 'stackoverflow_id' %}
|
||||
<a href="https://stackoverflow.com/users/{{ social[1] }}" title="Stackoverflow"><i class="fa-brands fa-stack-overflow"></i></a>
|
||||
{% when 'strava_userid' %}
|
||||
<a href="https://www.strava.com/athletes/{{ social[1] }}" title="Strava"><i class="fa-brands fa-strava"></i></a>
|
||||
{% when 'telegram_username' %}
|
||||
<a href="https://telegram.me/{{ social[1] }}" title="telegram"><i class="fa-brands fa-telegram"></i></a>
|
||||
{% when 'unsplash_id' %}
|
||||
<a href="https://unsplash.com/@{{ social[1] }}" title="Unsplash"><i class="fa-brands fa-unsplash"></i></a>
|
||||
{% when 'wechat_qr' %}
|
||||
<a id="WeChatBtn" title="WeChat"><i class="fa-brands fa-weixin"></i></a>
|
||||
<div id="WeChatMod" class="wechat-modal">
|
||||
<img src="{{ site.wechat_qr | prepend: 'assets/img/' | relative_url }}" alt="WeChat QR" id="WeChatQR">
|
||||
</div>
|
||||
{% include scripts/wechatModal.liquid %}
|
||||
{% when 'whatsapp_number' %}
|
||||
<a href="https://wa.me/{{ social[1] }}" title="whatsapp"><i class="fa-brands fa-whatsapp"></i></a>
|
||||
{% when 'wikidata_id' %}
|
||||
<a href="https://www.wikidata.org/wiki/{{ social[1] }}" title="Wikidata"><i class="fa-solid fa-barcode"></i></a>
|
||||
{% when 'wikipedia_id' %}
|
||||
<a href="https://wikipedia.org/wiki/User:{{ social[1] }}" title="Wikipedia"><i class="fa-brands fa-wikipedia-w"></i></a>
|
||||
{% when 'work_url' %}
|
||||
<a href="{{ social[1] }}" title="Work"><i class="fa-solid fa-briefcase"></i></a>
|
||||
{% when 'x_username' %}
|
||||
<a href="https://twitter.com/{{ social[1] }}" title="X"><i class="fa-brands fa-x-twitter"></i></a>
|
||||
{% when 'youtube_id' %}
|
||||
<a href="https://youtube.com/@{{ social[1] }}" title="YouTube"><i class="fa-brands fa-youtube"></i></a>
|
||||
{% when 'zotero_username' %}
|
||||
<a href="https://www.zotero.org/{{ social[1] }}" title="Zotero"><i class="ai ai-zotero"></i></a>
|
||||
{% else %}
|
||||
<a href="{{ social[1].url }}" title="{{ social[1].title }}">
|
||||
{% assign file_ext = social[1].logo | split: '.' | last %}
|
||||
{% if file_ext == 'svg' %}
|
||||
<svg>
|
||||
<image xlink:href="{% if social[1].logo contains '://' %}{{ social[1].logo }}{% else %}{{ social[1].logo | relative_url }}{% endif %}" />
|
||||
</svg>
|
||||
{% else %}
|
||||
<img
|
||||
src="{% if social[1].logo contains '://' %}{{ social[1].logo }}{% else %}{{ social[1].logo | relative_url }}{% endif %}"
|
||||
alt="{{ social[1].title }}"
|
||||
>
|
||||
{% endif %}
|
||||
</a>
|
||||
{% endcase %}
|
||||
{% endfor %}
|
||||
|
||||
@ -311,6 +311,24 @@ ul.task-list input[type="checkbox"] {
|
||||
font-size: 1.7rem;
|
||||
|
||||
a {
|
||||
img {
|
||||
width: 1.7rem;
|
||||
height: 1.7rem;
|
||||
margin-bottom: 0.5rem;
|
||||
// margin: 0.5rem;
|
||||
}
|
||||
|
||||
svg {
|
||||
width: 1.7rem;
|
||||
height: 1.7rem;
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
image {
|
||||
width: 1.7rem;
|
||||
height: 1.7rem;
|
||||
}
|
||||
}
|
||||
|
||||
i::before {
|
||||
color: var(--global-text-color);
|
||||
transition-property: all 0.2s ease-in-out;
|
||||
@ -386,12 +404,31 @@ ul.task-list input[type="checkbox"] {
|
||||
font-size: 4rem;
|
||||
|
||||
a {
|
||||
img {
|
||||
width: 3.2rem;
|
||||
height: 3.2rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
svg {
|
||||
width: 3.5rem;
|
||||
height: 4rem;
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
image {
|
||||
width: 3.5rem;
|
||||
height: 3.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
i::before {
|
||||
color: var(--global-text-color);
|
||||
transition-property: all 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
|
||||
i::before {
|
||||
color: var(--global-theme-color);
|
||||
}
|
||||
|
||||
386
assets/css/scholar-icons.css
Normal file
386
assets/css/scholar-icons.css
Normal file
@ -0,0 +1,386 @@
|
||||
/*
|
||||
* Scholar Icons v1.0.2 by @louisfacun – https://github.com/louisfacun/scholar-icons
|
||||
* License – Fonts: SIL OFL 1.1, Codes: MIT License, Icons: CC BY 4.0
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
font-family: "Scholar Icons";
|
||||
src: url("../fonts/scholar-icons.eot");
|
||||
src:
|
||||
url("../fonts/scholar-icons.eot") format("embedded-opentype"),
|
||||
url("../fonts/scholar-icons.ttf") format("truetype"),
|
||||
url("../fonts/scholar-icons.woff") format("woff"),
|
||||
url("../fonts/scholar-icons.svg") format("svg");
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-display: block;
|
||||
}
|
||||
|
||||
.si {
|
||||
font-family: "Scholar Icons" !important;
|
||||
font-weight: 400;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
display: inline-block;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
text-rendering: auto;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.si-1x {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.si-2x {
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
.si-3x {
|
||||
font-size: 3em;
|
||||
}
|
||||
|
||||
.si-4x {
|
||||
font-size: 4em;
|
||||
}
|
||||
|
||||
.si-5x {
|
||||
font-size: 5em;
|
||||
}
|
||||
|
||||
.si-6x {
|
||||
font-size: 6em;
|
||||
}
|
||||
|
||||
.si-7x {
|
||||
font-size: 7em;
|
||||
}
|
||||
|
||||
.si-8x {
|
||||
font-size: 8em;
|
||||
}
|
||||
.si-arduino:before {
|
||||
content: "\e956";
|
||||
}
|
||||
.si-biorxiv:before {
|
||||
content: "\e957";
|
||||
}
|
||||
.si-cplusplus:before {
|
||||
content: "\e958";
|
||||
}
|
||||
.si-csharp:before {
|
||||
content: "\e959";
|
||||
}
|
||||
.si-css3:before {
|
||||
content: "\e95a";
|
||||
}
|
||||
.si-debian:before {
|
||||
content: "\e95b";
|
||||
}
|
||||
.si-debian-diversity:before {
|
||||
content: "\e95c";
|
||||
}
|
||||
.si-dotnet:before {
|
||||
content: "\e95d";
|
||||
}
|
||||
.si-gitlab:before {
|
||||
content: "\e95e";
|
||||
}
|
||||
.si-hackerearth:before {
|
||||
content: "\e95f";
|
||||
}
|
||||
.si-hackerrank:before {
|
||||
content: "\e960";
|
||||
}
|
||||
.si-hal:before {
|
||||
content: "\e961";
|
||||
}
|
||||
.si-html5:before {
|
||||
content: "\e962";
|
||||
}
|
||||
.si-lattes:before {
|
||||
content: "\e963";
|
||||
}
|
||||
.si-leetcode:before {
|
||||
content: "\e964";
|
||||
}
|
||||
.si-medrxiv:before {
|
||||
content: "\e965";
|
||||
}
|
||||
.si-mysql:before {
|
||||
content: "\e966";
|
||||
}
|
||||
.si-php:before {
|
||||
content: "\e967";
|
||||
}
|
||||
.si-r:before {
|
||||
content: "\e968";
|
||||
}
|
||||
.si-sas:before {
|
||||
content: "\e969";
|
||||
}
|
||||
.si-tableau:before {
|
||||
content: "\e96a";
|
||||
}
|
||||
.si-the-conversation:before {
|
||||
content: "\e96b";
|
||||
}
|
||||
.si-academia:before {
|
||||
content: "\e900";
|
||||
}
|
||||
.si-academia-square:before {
|
||||
content: "\e901";
|
||||
}
|
||||
.si-acm:before {
|
||||
content: "\e902";
|
||||
}
|
||||
.si-arxiv:before {
|
||||
content: "\e903";
|
||||
}
|
||||
.si-citavi:before {
|
||||
content: "\e904";
|
||||
}
|
||||
.si-codecademy:before {
|
||||
content: "\e905";
|
||||
}
|
||||
.si-coursera:before {
|
||||
content: "\e906";
|
||||
}
|
||||
.si-crossref:before {
|
||||
content: "\e907";
|
||||
}
|
||||
.si-dblp:before {
|
||||
content: "\e908";
|
||||
}
|
||||
.si-deeplearning-ai:before {
|
||||
content: "\e909";
|
||||
}
|
||||
.si-degree-bs:before {
|
||||
content: "\e90a";
|
||||
}
|
||||
.si-degree-ma:before {
|
||||
content: "\e90b";
|
||||
}
|
||||
.si-degree-mba:before {
|
||||
content: "\e90c";
|
||||
}
|
||||
.si-degree-md:before {
|
||||
content: "\e90d";
|
||||
}
|
||||
.si-degree-ms:before {
|
||||
content: "\e90e";
|
||||
}
|
||||
.si-degree-phd:before {
|
||||
content: "\e90f";
|
||||
}
|
||||
.si-devto:before {
|
||||
content: "\e910";
|
||||
}
|
||||
.si-doaj:before {
|
||||
content: "\e911";
|
||||
}
|
||||
.si-doi:before {
|
||||
content: "\e912";
|
||||
}
|
||||
.si-edx:before {
|
||||
content: "\e913";
|
||||
}
|
||||
.si-elsevier:before {
|
||||
content: "\e914";
|
||||
}
|
||||
.si-endnote:before {
|
||||
content: "\e915";
|
||||
}
|
||||
.si-endnote-square:before {
|
||||
content: "\e916";
|
||||
}
|
||||
.si-facebook:before {
|
||||
content: "\e917";
|
||||
}
|
||||
.si-freecodecamp:before {
|
||||
content: "\e918";
|
||||
}
|
||||
.si-futurelearn:before {
|
||||
content: "\e919";
|
||||
}
|
||||
.si-github:before {
|
||||
content: "\e91a";
|
||||
}
|
||||
.si-google-scholar:before {
|
||||
content: "\e91b";
|
||||
}
|
||||
.si-hackernoon:before {
|
||||
content: "\e91c";
|
||||
}
|
||||
.si-ieee:before {
|
||||
content: "\e91d";
|
||||
}
|
||||
.si-ieee-alt:before {
|
||||
content: "\e91e";
|
||||
}
|
||||
.si-iet:before {
|
||||
content: "\e91f";
|
||||
}
|
||||
.si-image-sc:before {
|
||||
content: "\e920";
|
||||
}
|
||||
.si-impact-story:before {
|
||||
content: "\e921";
|
||||
}
|
||||
.si-jstor:before {
|
||||
content: "\e922";
|
||||
}
|
||||
.si-kaggle:before {
|
||||
content: "\e923";
|
||||
}
|
||||
.si-keras:before {
|
||||
content: "\e924";
|
||||
}
|
||||
.si-khan-academy:before {
|
||||
content: "\e925";
|
||||
}
|
||||
.si-latex:before {
|
||||
content: "\e926";
|
||||
}
|
||||
.si-latex-alt:before {
|
||||
content: "\e927";
|
||||
}
|
||||
.si-linkedin:before {
|
||||
content: "\e928";
|
||||
}
|
||||
.si-mathworks:before {
|
||||
content: "\e929";
|
||||
}
|
||||
.si-medium:before {
|
||||
content: "\e92a";
|
||||
}
|
||||
.si-mendeley:before {
|
||||
content: "\e92b";
|
||||
}
|
||||
.si-numpy:before {
|
||||
content: "\e92c";
|
||||
}
|
||||
.si-nwo-nl:before {
|
||||
content: "\e92d";
|
||||
}
|
||||
.si-open-access:before {
|
||||
content: "\e92e";
|
||||
}
|
||||
.si-opencv:before {
|
||||
content: "\e92f";
|
||||
}
|
||||
.si-openscience-nl:before {
|
||||
content: "\e930";
|
||||
}
|
||||
.si-orcid:before {
|
||||
content: "\e931";
|
||||
}
|
||||
.si-pandas:before {
|
||||
content: "\e932";
|
||||
}
|
||||
.si-papers-with-code:before {
|
||||
content: "\e933";
|
||||
}
|
||||
.si-piazza:before {
|
||||
content: "\e934";
|
||||
}
|
||||
.si-piazza-square:before {
|
||||
content: "\e935";
|
||||
}
|
||||
.si-publons:before {
|
||||
content: "\e936";
|
||||
}
|
||||
.si-publons-square:before {
|
||||
content: "\e937";
|
||||
}
|
||||
.si-pubmed:before {
|
||||
content: "\e938";
|
||||
}
|
||||
.si-python:before {
|
||||
content: "\e939";
|
||||
}
|
||||
.si-pytorch:before {
|
||||
content: "\e93a";
|
||||
}
|
||||
.si-quora:before {
|
||||
content: "\e93b";
|
||||
}
|
||||
.si-reddit:before {
|
||||
content: "\e93c";
|
||||
}
|
||||
.si-researchgate:before {
|
||||
content: "\e93d";
|
||||
}
|
||||
.si-researchgate-square:before {
|
||||
content: "\e93e";
|
||||
}
|
||||
.si-scopus:before {
|
||||
content: "\e93f";
|
||||
}
|
||||
.si-scribd:before {
|
||||
content: "\e940";
|
||||
}
|
||||
.si-se-academia:before {
|
||||
content: "\e941";
|
||||
}
|
||||
.si-se-ai:before {
|
||||
content: "\e942";
|
||||
}
|
||||
.si-se-ask-ubuntu:before {
|
||||
content: "\e943";
|
||||
}
|
||||
.si-semantic-scholar:before {
|
||||
content: "\e944";
|
||||
}
|
||||
.si-se-mathematics:before {
|
||||
content: "\e945";
|
||||
}
|
||||
.si-se-superuser:before {
|
||||
content: "\e946";
|
||||
}
|
||||
.si-skillshare:before {
|
||||
content: "\e947";
|
||||
}
|
||||
.si-sklearn:before {
|
||||
content: "\e948";
|
||||
}
|
||||
.si-springer:before {
|
||||
content: "\e949";
|
||||
}
|
||||
.si-springer-nature:before {
|
||||
content: "\e94a";
|
||||
}
|
||||
.si-ssrn:before {
|
||||
content: "\e94b";
|
||||
}
|
||||
.si-stack-exchange:before {
|
||||
content: "\e94c";
|
||||
}
|
||||
.si-stack-overflow:before {
|
||||
content: "\e94d";
|
||||
}
|
||||
.si-surf-nl:before {
|
||||
content: "\e94e";
|
||||
}
|
||||
.si-tensorflow:before {
|
||||
content: "\e94f";
|
||||
}
|
||||
.si-twitter:before {
|
||||
content: "\e950";
|
||||
}
|
||||
.si-udacity:before {
|
||||
content: "\e951";
|
||||
}
|
||||
.si-udemy:before {
|
||||
content: "\e952";
|
||||
}
|
||||
.si-xing:before {
|
||||
content: "\e953";
|
||||
}
|
||||
.si-zenodo:before {
|
||||
content: "\e954";
|
||||
}
|
||||
.si-zotero:before {
|
||||
content: "\e955";
|
||||
}
|
||||
BIN
assets/fonts/scholar-icons.ttf
Normal file
BIN
assets/fonts/scholar-icons.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/scholar-icons.woff
Normal file
BIN
assets/fonts/scholar-icons.woff
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user