Remove hr if there is no ADDTHIS

This commit is contained in:
Vinicius Senna 2016-07-17 15:57:58 -03:00
parent f951d4ba7d
commit dc9ebae71a
1 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{% if article.status != "draft" %}
<hr>
<div class="sharing">
{% if ADDTHIS_PUBID %}
{% if ADDTHIS_PUBID %}
<hr>
<div class="sharing">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_preferred_1"></a>
@ -18,6 +18,6 @@
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid={{ ADDTHIS_PUBID }}"></script>
<!-- AddThis Button END -->
{% endif %}
</div>
</div>
{% endif %}
{% endif %}