Adds Telegram to social integrations (#992)
This commit is contained in:
parent
01119b9f77
commit
f1eb1602a3
@ -72,6 +72,7 @@ gitlab_username: # your GitLab user name
|
||||
twitter_username: # your Twitter handle
|
||||
mastodon_username: # your mastodon instance+username in the format instance.tld/@username
|
||||
linkedin_username: # your LinkedIn user name
|
||||
telegram_username: # your Telegram user name
|
||||
scholar_userid: # your Google Scholar ID
|
||||
semanticscholar_id: # your Semantic Scholar ID
|
||||
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.)
|
||||
|
@ -91,6 +91,10 @@
|
||||
{%- capture link -%}https://github.com/{{ site.github_username }}{%- endcapture -%}
|
||||
{%- assign sameaslinks = sameaslinks | push: link -%}
|
||||
{%- endif -%}
|
||||
{%- if site.telegram_username -%}
|
||||
{%- capture link -%}https://telegram.me/{{ site.telegram_username }}{%- endcapture -%}
|
||||
{%- assign sameaslinks = sameaslinks | push: link -%}
|
||||
{%- endif -%}
|
||||
{%- if site.linkedin_username -%}
|
||||
{%- capture link -%}https://www.linkedin.com/in/{{ site.linkedin_username }}{%- endcapture -%}
|
||||
{%- assign sameaslinks = sameaslinks | push: link -%}
|
||||
|
@ -1,6 +1,9 @@
|
||||
{%- if site.email -%}
|
||||
<a href="mailto:{{ site.email | encode_email }}" title="email"><i class="fas fa-envelope"></i></a>
|
||||
{% endif %}
|
||||
{%- if site.telegram_username -%}
|
||||
<a href="https://telegram.me/{{ site.telegram_username }}" title="telegram"><i class="fab fa-telegram"></i></a>
|
||||
{% endif %}
|
||||
{%- if site.whatsapp_number -%}
|
||||
<a href="https://wa.me/{{ site.whatsapp_number }}" title="whatsapp"><i class="fab fa-whatsapp"></i></a>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user