Fixed social bar links: now on new tab. Added mailto: to email link
This commit is contained in:
parent
620a80f473
commit
8014642099
|
@ -3,15 +3,15 @@
|
|||
|
||||
<div class="social-bar">
|
||||
{% if social.twitter_account %}
|
||||
<a href="https://twitter.com/{{ social.twitter_account }}"><img src="{% static "icons/twitter.png" %}" /></a>
|
||||
<a href="https://twitter.com/{{ social.twitter_account }}" target="_blank"><img src="{% static "icons/twitter.png" %}" /></a>
|
||||
{% endif %}
|
||||
{% if social.facebook_url %}
|
||||
<a href="{{ social.facebook_url }}"><img src="{% static "icons/facebook.png" %}" /></a>
|
||||
<a href="{{ social.facebook_url }}" target="_blank"><img src="{% static "icons/facebook.png" %}" /></a>
|
||||
{% endif %}
|
||||
{% if social.google_plus_url %}
|
||||
<a href="{{ social.google_plus_url }}"><img src="{% static "icons/googleplus.png" %}" /></a>
|
||||
<a href="{{ social.google_plus_url }}" target="_blank"><img src="{% static "icons/googleplus.png" %}" /></a>
|
||||
{% endif %}
|
||||
{% if social.contact_email %}
|
||||
<a href="{{ social.contact_email }}"><img src="{% static "icons/email.png" %}" /></a>
|
||||
<a href="mailto:{{ social.contact_email }}"><img src="{% static "icons/email.png" %}" /></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Reference in New Issue