We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaf5e57 commit 5f8ec7fCopy full SHA for 5f8ec7f
_includes/sidebar.html
@@ -52,13 +52,21 @@
52
{% endunless %}
53
54
{% for entry in site.data.contact %}
55
+ {%- assign url = null -%}
56
+
57
{% case entry.type %}
58
{% when 'github', 'twitter' %}
59
+ {%- unless site[entry.type].username -%}
60
+ {%- continue -%}
61
+ {%- endunless -%}
62
{%- capture url -%}
63
https://{{ entry.type }}.com/{{ site[entry.type].username }}
64
{%- endcapture -%}
65
{% when 'email' %}
- {% assign email = site.social.email | split: '@' %}
66
+ {%- unless site.social.email -%}
67
68
69
+ {%- assign email = site.social.email | split: '@' -%}
70
71
javascript:location.href = 'mailto:' + ['{{ email[0] }}','{{ email[1] }}'].join('@')
72
0 commit comments