mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-25 00:48:53 -05:00
24 lines
845 B
HTML
24 lines
845 B
HTML
{% if site.twitter_user %}
|
|
<section>
|
|
<h1>Latest Tweets</h1>
|
|
<ul id="tweets">
|
|
<li class="loading">Status updating...</li>
|
|
</ul>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
twitter.getFeed({
|
|
user: "{{site.twitter_user}}"
|
|
, count: {{site.twitter_tweet_count}}
|
|
, replies: {{site.twitter_show_replies}}
|
|
});
|
|
});
|
|
</script>
|
|
<script src="{{ root_url }}/javascripts/twitter.js" type="text/javascript"> </script>
|
|
{% if site.twitter_follow_button %}
|
|
<a href="http://twitter.com/{{ site.twitter_user }}" class="twitter-follow-button" data-show-count="{{ site.twitter_show_follower_count }}">Follow @{{ site.twitter_user }}</a>
|
|
{% else %}
|
|
<p>Follow <a href="http://twitter.com/{{site.twitter_user}}">@{{ site.twitter_user }}</a></p>
|
|
{% endif %}
|
|
</section>
|
|
{% endif %}
|