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