New propery ADD_THIS_BELOW_ARTICLE

Setting ADD_THIS_BELOW_ARTICLE will add the appropriate
Add This <div> under each article, in order to display
the sharing bar in-line.
This commit is contained in:
Adam Sherman 2017-02-17 10:08:14 -05:00
parent f762ed5b77
commit d2d5c15b34
No known key found for this signature in database
GPG key ID: 393E9C6D711585B6

View file

@ -49,7 +49,11 @@
{% if ADD_THIS_ID %} {% if ADD_THIS_ID %}
<div class="center social-share"> <div class="center social-share">
{% if ADD_THIS_BELOW_ARTICLE %}
<div class="addthis_inline_share_toolbox"></div>
{% else %}
<p>{{ _('Like this article? Share it with your friends!') }}</p> <p>{{ _('Like this article? Share it with your friends!') }}</p>
{% endif %}
<div class="addthis_native_toolbox"></div> <div class="addthis_native_toolbox"></div>
<div class="addthis_sharing_toolbox"></div> <div class="addthis_sharing_toolbox"></div>
</div> </div>