|
4 | 4 | {% include head.html %}
|
5 | 5 | <meta name="description" content="JRuby is a high performance, stable, fully threaded Java implementation of the Ruby programming language." />
|
6 | 6 | <link href="/stylesheets/carousel.css" media="screen" rel="stylesheet" type="text/css" />
|
| 7 | + <link rel=" stylesheet" href=" https://cdn.jsdelivr.net/npm/@idotj/[email protected]/dist/mastodon-timeline.min.css" integrity=" sha256-1UGgxsonaMCfOEnVOL89aMKSo3GEAmaRP0ISbsWa6lU=" crossorigin=" anonymous" /> |
7 | 8 | </head>
|
8 | 9 | <body class="home">
|
9 | 10 | {% include menu.html %}
|
@@ -36,16 +37,28 @@ <h4>InfoWorld 2010 Bossie Awards: Best of Open Source Software</h4></a>
|
36 | 37 | </ul>
|
37 | 38 | </div>
|
38 | 39 |
|
39 |
| - <div id="twitter" class="halfColumn"> |
| 40 | + <div id="mastodon" class="halfColumn"> |
40 | 41 | <div style="clear:both; padding-top: 1.2em;"></div>
|
41 | 42 |
|
42 |
| - <a href="https://twitter.com/jruby" id="twitter-link" class="right">Follow us on Twitter</a> |
43 |
| - <h2>Recent Tweets <a href="https://twitter.com/jruby"><img src="/images/twitter_bird.png"/></a></h2> |
44 |
| - <div id="twitter_div"> |
45 |
| - <h2 style="display: none;" ></h2> |
46 |
| -<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/jruby" data-widget-id="316675942686793728">Tweets by @jruby</a> |
47 |
| -<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> |
| 43 | + <h2>Recent Toots <a href="https://ruby.social/@JRuby"><img src="/images/mastodon-logo-purple.svg" width="20" height="20" /></a></h2> |
| 44 | + |
| 45 | + <div id="mt-container" class="mt-container"> |
| 46 | + <div class="mt-body" role="feed"> |
| 47 | + <div class="mt-loading-spinner"></div> |
| 48 | + </div> |
48 | 49 | </div>
|
| 50 | + |
| 51 | + <script src=" https://cdn.jsdelivr.net/npm/@idotj/[email protected]/dist/mastodon-timeline.umd.js" integrity=" sha256-E6WPG6iq+qQIzvu3HPJJxoAeRdum5siq13x4ITjyxu8=" crossorigin=" anonymous" ></script> |
| 52 | + <script> |
| 53 | + const myTimeline = new MastodonTimeline.Init({ |
| 54 | + instanceUrl: "https://ruby.social", |
| 55 | + timelineType: "profile", |
| 56 | + userId: "109306378143906411", |
| 57 | + profileName: "@jruby", |
| 58 | + maxNbPostShow: 1, |
| 59 | + hideCounterBar: true |
| 60 | + }); |
| 61 | + </script> |
49 | 62 | </div>
|
50 | 63 | </div>
|
51 | 64 | <div style="padding: 2em">
|
|
0 commit comments