Skip to content

Commit 1654429

Browse files
committed
Switching out twitter widgets
1 parent 1932f86 commit 1654429

File tree

1 file changed

+3
-30
lines changed

1 file changed

+3
-30
lines changed

_includes/themes/mongoengine/frontpage.html

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -192,36 +192,9 @@ <h3>Github</h3>
192192
<div id="github-commits"></div>
193193
</div>
194194
<div class="span5">
195-
<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
196-
<script>
197-
new TWTR.Widget({
198-
version: 2,
199-
type: 'search',
200-
search: 'mongoengine',
201-
interval: 30000,
202-
title: 'Twitter',
203-
subject: '',
204-
width: 'auto',
205-
height: 350,
206-
theme: {
207-
shell: {
208-
background: '#f7f7f9',
209-
color: '#333333'
210-
},
211-
tweets: {
212-
background: '#f7f7f9',
213-
color: '#444444',
214-
links: '#00693c'
215-
}
216-
},
217-
features: {
218-
scrollbar: true,
219-
loop: false,
220-
live: true,
221-
behavior: 'all'
222-
}
223-
}).render().start();
224-
</script>
195+
<a class="twitter-timeline" data-dnt=true href="https://twitter.com/search?q=mongoengine" data-widget-id="243702560702210048">Tweets about "mongoengine"</a>
196+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
197+
225198
</div>
226199
</div>
227200
</div>

0 commit comments

Comments
 (0)