blog/source/_includes/banner.html
2015-01-19 13:16:19 +01:00

15 lines
569 B
HTML

{% if site.twitter_user %}
<div id="banner" class="inner">
<div class="container">
<ul class="feed"></ul>
</div>
<small><a href="http://twitter.com/{{ site.twitter_user }}">{{ site.twitter_user }}</a> @ <a href="http://twitter.com">Twitter</a></small>
<div class="loading">Loading...</div>
</div>
<script src="{{ root_url }}/javascripts/twitter.js"></script>
<script type="text/javascript">
(function($){
$('#banner').getTwitterFeed('{{ site.twitter_user }}', {{ site.twitter_tweet_count }}, {{ site.twitter_show_replies }});
})(jQuery);
</script>
{% endif %}