aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes/shariff.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/includes/shariff.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/includes/shariff.html')
-rw-r--r--pelican-bootstrap3/templates/includes/shariff.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/pelican-bootstrap3/templates/includes/shariff.html b/pelican-bootstrap3/templates/includes/shariff.html
new file mode 100644
index 0000000..d00e5f7
--- /dev/null
+++ b/pelican-bootstrap3/templates/includes/shariff.html
@@ -0,0 +1,25 @@
+{% if SHARIFF|default(false) %}
+ <hr />
+ <!-- Shariff Button BEGIN -->
+ <div class="shariff"
+ {% if SHARIFF_BACKEND_URL %}
+ data-backend-url="{{ SHARIFF_BACKEND_URL }}"
+ {% endif %}
+ {% if SHARIFF_LANG %}
+ data-lang="{{ SHARIFF_LANG }}"
+ {% endif %}
+ {% if SHARIFF_ORIENTATION|default('vertical') %}
+ data-orientation="{{ SHARIFF_ORIENTATION }}"
+ {% endif %}
+ {% if SHARIFF_SERVICES %}
+ data-services = "{{ SHARIFF_SERVICES }}"
+ {% endif %}
+ {% if SHARIFF_THEME %}
+ data-theme="{{ SHARIFF_THEME }}"
+ {% endif %}
+ {% if SHARIFF_TWITTER_VIA|default(false) %}
+ data-twitter-via="{{ TWITTER_USERNAME }}"
+ {% endif %}
+ data-url="{{ SITEURL }}/{{ article.url }}"></div>
+ <!-- Shariff Button END -->
+{% endif %} \ No newline at end of file