Hide Google Plus link if google_plus_hidden is true

This commit is contained in:
Yuanxuan Wang 2013-01-09 12:52:23 +08:00
parent a532fab583
commit c4ed411690

View File

@ -1,4 +1,5 @@
{% if site.google_plus_user %}
<a href="https://plus.google.com/{{ site.google_plus_user }}?rel=author"><img src="https://ssl.gstatic.com/images/icons/gplus-{{ site.google_plus_image_size}}.png" alt="Google Plus icon"></a>
<a href="https://plus.google.com/{{ site.google_plus_user }}?rel=author"{% if site.google_plus_hidden %} class="googleplus-hidden"{% endif %}>
<img src="https://ssl.gstatic.com/images/icons/gplus-{{ site.google_plus_image_size}}.png" alt="Google Plus icon">
</a>
{% endif %}