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">
|
|
|
|
$.domReady(function(){
|
|
|
|
getTwitterFeed("{{site.twitter_user}}", {{site.twitter_tweet_count}}, {{site.twitter_show_replies}});
|
|
|
|
});
|
|
|
|
</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 %}
|