aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2016-09-10 08:36:25 -0600
committerGitHub <noreply@github.com>2016-09-10 08:36:25 -0600
commit9f51465d8fd18dcd4d5e53ba402c31fd281455b9 (patch)
treea06601d709ff129532eafd894a5516b61b125dec /pelican-bootstrap3/templates/includes
parenta4782a768278b145dcab0171c43214bc07b49f56 (diff)
parent5dc81b51a19c26d3096dc45fefc542fd0c514092 (diff)
downloadpelican-themes-9f51465d8fd18dcd4d5e53ba402c31fd281455b9.tar.gz
Merge pull request #406 from jacnoc/patch-1
Bootstrap3: remove deprecated Twitter widget ID
Diffstat (limited to 'pelican-bootstrap3/templates/includes')
-rw-r--r--pelican-bootstrap3/templates/includes/twitter_timeline.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/pelican-bootstrap3/templates/includes/twitter_timeline.html b/pelican-bootstrap3/templates/includes/twitter_timeline.html
index ad1ce5d..395468c 100644
--- a/pelican-bootstrap3/templates/includes/twitter_timeline.html
+++ b/pelican-bootstrap3/templates/includes/twitter_timeline.html
@@ -2,9 +2,6 @@
<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>
+ <a class="twitter-timeline" data-width="250" data-height="300" data-dnt="true" data-theme="light" href="https://twitter.com/{{TWITTER_USERNAME}}">Tweets by {{TWITTER_USERNAME}}</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
</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
+{% endif %}