Skip to content

Commit 31b3f68

Browse files
g-oikonomoualshedivat
authored andcommitted
Make the display of an email conditional
1 parent 6882ab1 commit 31b3f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/social.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="social">
22
<span class="contacticon center">
3-
<a href="mailto:{{ site.email | encode_email }}"><i class="fas fa-envelope"></i></a>
3+
{% if site.email %}<a href="mailto:{{ site.email | encode_email }}"><i class="fas fa-envelope"></i></a>{% endif %}
44
{% if site.orcid_id %}<a href="https://orcid.org/{{ site.orcid_id }}" target="_blank" title="ORCID"><i class="ai ai-orcid"></i></a>{% endif %}
55
{% if site.scholar_userid %}<a href="https://scholar.google.com/citations?user={{ site.scholar_userid }}" target="_blank" title="Google Scholar"><i class="ai ai-google-scholar"></i></a>{% endif %}
66
{% if site.github_username %}<a href="https://github.com/{{ site.github_username }}" target="_blank" title="GitHub"><i class="fab fa-github"></i></a>{% endif %}

0 commit comments

Comments
 (0)