Merge branch 'main' into new-zola-version

This commit is contained in:
Ratan Kulshreshtha 2021-10-05 17:40:34 +05:30 committed by GitHub
commit 7d0cc02ed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 0 deletions

View File

@ -140,6 +140,8 @@ stackoverflow = "<stackoverflow_userid>"
twitter = "<twitter_username>"
instagram = "<instagram_usernaem>"
behance = "<behance_username>"
google_scholar = "<googlescholar_userid>"
orcid = "<orcid_userid>"
# To add google analytics

View File

@ -192,6 +192,8 @@ linkedin = "ratanshreshtha"
stackoverflow = "3728911"
email = "deepthought@gmail.com"
twitter = "RatanShreshtha"
#orcid = ""
#google_scholar = ""
[extra.analytics]
google = "UA-176984489-2"

View File

@ -1,5 +1,22 @@
{% macro social_links(social_config) %}
<p>
{% if social_config.google_scholar %}
<a href="https://scholar.google.com/citations?user={{ social_config.google_scholar }}" target="_blank">
<span class="icon is-large" title="Google Scholar">
<i class="ai ai-google-scholar ai-lg"></i>
</span>
</a>
{% endif %}
{% if social_config.orcid %}
<a href="https://orcid.org/{{ social_config.orcid }}" target="_blank">
<span class="icon is-large" title="ORCiD">
<i class="fab fa-orcid fa-lg"></i>
</span>
</a>
{% endif %}
{% if social_config.facebook %}
<a href="https://facebook.com/{{ social_config.facebook }}" target="_blank">
<span class="icon is-large" title="Facebook">