aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes/addthis.html
diff options
context:
space:
mode:
authorDaan Debie <d.debie@thenewmotion.com>2014-08-21 18:45:11 +0200
committerDaan Debie <d.debie@thenewmotion.com>2014-08-21 18:45:11 +0200
commit352965e0445417584f6c3fb3e8fef5d87db4f37f (patch)
treedb9a4e7f5b760da37c0b506a450ca809496fbcc7 /pelican-bootstrap3/templates/includes/addthis.html
parenta928687830876af8c919606bae47195af65bc82d (diff)
downloadpelican-themes-352965e0445417584f6c3fb3e8fef5d87db4f37f.tar.gz
Updated pelican-bootstrap3 to the latest version
Diffstat (limited to 'pelican-bootstrap3/templates/includes/addthis.html')
-rw-r--r--pelican-bootstrap3/templates/includes/addthis.html16
1 files changed, 12 insertions, 4 deletions
diff --git a/pelican-bootstrap3/templates/includes/addthis.html b/pelican-bootstrap3/templates/includes/addthis.html
index 9f8fe50..12e2e8a 100644
--- a/pelican-bootstrap3/templates/includes/addthis.html
+++ b/pelican-bootstrap3/templates/includes/addthis.html
@@ -2,11 +2,19 @@
<hr />
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style">
- <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
- <a class="addthis_button_tweet"></a>
- <a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
+ {% if ADDTHIS_FACEBOOK_LIKE|default(true) %}
+ <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
+ {% endif %}
+ {% if ADDTHIS_TWEET|default(true) %}
+ <a class="addthis_button_tweet"></a>
+ {% endif %}
+ {% if ADDTHIS_GOOGLE_PLUSONE|default(true) %}
+ <a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
+ {% endif %}
</div>
- <script type="text/javascript">var addthis_config = {"data_track_addressbar": true};</script>
+ {% if ADDTHIS_DATA_TRACK_ADDRESSBAR|default(true) %}
+ <script type="text/javascript">var addthis_config = {"data_track_addressbar": true};</script>
+ {% endif %}
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid={{ ADDTHIS_PROFILE }}"></script>
<!-- AddThis Button END -->
{% endif %} \ No newline at end of file