fmartingr
/
shelfzilla
Archived
1
0
Fork 0

Fixed social bar links: now on new tab. Added mailto: to email link

This commit is contained in:
Felipe Martin 2014-05-27 23:18:54 +02:00
parent 620a80f473
commit 8014642099
1 changed files with 4 additions and 4 deletions

View File

@ -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>