aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes/twitter_timeline.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/twitter_timeline.html
parenta928687830876af8c919606bae47195af65bc82d (diff)
downloadpelican-themes-352965e0445417584f6c3fb3e8fef5d87db4f37f.tar.gz
Updated pelican-bootstrap3 to the latest version
Diffstat (limited to 'pelican-bootstrap3/templates/includes/twitter_timeline.html')
-rw-r--r--pelican-bootstrap3/templates/includes/twitter_timeline.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/pelican-bootstrap3/templates/includes/twitter_timeline.html b/pelican-bootstrap3/templates/includes/twitter_timeline.html
new file mode 100644
index 0000000..ad1ce5d
--- /dev/null
+++ b/pelican-bootstrap3/templates/includes/twitter_timeline.html
@@ -0,0 +1,10 @@
+{% if TWITTER_WIDGET_ID %}
+
+ <li class="list-group-item"><h4><i class="fa fa-twitter fa-lg"></i><span class="icon-label">Latest Tweets</span></h4></li>
+ <div id="twitter_timeline">
+ <a class="twitter-timeline" data-chrome="noheader" href="https://twitter.com/{{ TWITTER_USERNAME }}" data-widget-id="{{TWITTER_WIDGET_ID}}">Tweets by {{TWITTER_USERNAME}}</a>
+ </div>
+
+<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+{% endif %} \ No newline at end of file