android.moparisthebest.org/source/_includes/asides/twitter.html

24 lines
845 B
HTML
Raw Normal View History

2011-07-19 22:28:48 -04:00
{% if site.twitter_user %}
<section>
<h1>Latest Tweets</h1>
<ul id="tweets">
<li class="loading">Status updating...</li>
</ul>
<script type="text/javascript">
2012-05-25 00:05:33 -04:00
$(document).ready(function(){
twitter.getFeed({
user: "{{site.twitter_user}}"
, count: {{site.twitter_tweet_count}}
, replies: {{site.twitter_show_replies}}
});
2011-07-19 22:28:48 -04:00
});
</script>
2011-07-22 00:14:26 -04:00
<script src="{{ root_url }}/javascripts/twitter.js" type="text/javascript"> </script>
2011-07-19 22:28:48 -04:00
{% if site.twitter_follow_button %}
2011-12-10 13:57:15 -05:00
<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>
2011-07-19 22:28:48 -04:00
{% else %}
<p>Follow <a href="http://twitter.com/{{site.twitter_user}}">@{{ site.twitter_user }}</a></p>
{% endif %}
</section>
{% endif %}