aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/article.html
diff options
context:
space:
mode:
authorDaan Debie <d.debie@thenewmotion.com>2015-02-21 23:16:27 +0100
committerDaan Debie <d.debie@thenewmotion.com>2015-02-21 23:16:27 +0100
commit524cfb091d7d3993f81091f0cba9e194951a17a6 (patch)
tree54c01c855e9994fbbfcf40b34cfb2552a020ae52 /pelican-bootstrap3/templates/article.html
parent6ce5bf4fae4d65ad9696d5d8f98ec93c4a1f3021 (diff)
downloadpelican-themes-524cfb091d7d3993f81091f0cba9e194951a17a6.zip
pelican-themes-524cfb091d7d3993f81091f0cba9e194951a17a6.tar.gz
pelican-themes-524cfb091d7d3993f81091f0cba9e194951a17a6.tar.bz2
Updated pelican-bootstrap3 to latest version
Diffstat (limited to 'pelican-bootstrap3/templates/article.html')
-rw-r--r--pelican-bootstrap3/templates/article.html21
1 files changed, 18 insertions, 3 deletions
diff --git a/pelican-bootstrap3/templates/article.html b/pelican-bootstrap3/templates/article.html
index fcfab20..087e432 100644
--- a/pelican-bootstrap3/templates/article.html
+++ b/pelican-bootstrap3/templates/article.html
@@ -15,8 +15,10 @@
{% endif %}
{% endblock %}
{% block opengraph %}
- {% if OPEN_GRAPH_FB_APP_ID %}
- <meta property="fb:app_id" content="{{ OPEN_GRAPH_FB_APP_ID }}"/>
+ {% if USE_OPEN_GRAPH %}
+ {% if OPEN_GRAPH_FB_APP_ID %}
+ <meta property="fb:app_id" content="{{ OPEN_GRAPH_FB_APP_ID }}"/>
+ {% endif %}
<meta property="og:site_name" content="{{ SITENAME }}" />
<meta property="og:type" content="article"/>
<meta property="og:title" content="{{ article.title|striptags|escape }}"/>
@@ -87,10 +89,23 @@
</div>
<!-- /.entry-content -->
{% include 'includes/related-posts.html' %}
- {% include 'includes/series.html' %}
{% include 'includes/addthis.html' %}
+ {% include 'includes/shariff.html' %}
{% include 'includes/comments.html' %}
</article>
</section>
{% endblock %}
+
+{% block scripts %}
+{% if ADDTHIS_PROFILE %}
+ {% 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>
+{% endif %}
+{% if SHARIFF|default(false) %}
+ <!-- add shariff support -->
+ <script src="{{ SITEURL }}/theme/js/shariff.min.js"></script>
+{% endif %}
+{% endblock %}