Skip to content

Commit c0313c3

Browse files
committed
Fix twitter feed on home page
Use JavaScript from https://publish.twitter.com/ Parameter reference is https://dev.twitter.com/web/embedded-timelines/parameters
1 parent 9e06682 commit c0313c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_layouts/frontpage.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,9 @@ <h2 class="twitterhdr"><span>Scala on Twitter</span></h2>
219219
</div>
220220
<div class="row">
221221
<div class="span12">
222-
<div id="tweets" class="tweets"></div>
222+
<div id="tweets" class="tweets">
223+
<a class="twitter-timeline" data-tweet-limit="4" data-chrome="noheader nofooter noborders" href="https://twitter.com/scala_lang">Tweets by scala_lang</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
224+
</div>
223225
<br/>&nbsp;
224226
<div class="see-more-tweets">See more tweets, or</div>
225227
<a id="twitter-btn" href="https://twitter.com/scala_lang">Follow Scala on Twitter</a>

0 commit comments

Comments
 (0)