diff options
author | SkyArrow <tommy351@gmail.com> | 2012-01-24 18:24:40 +0100 |
---|---|---|
committer | SkyArrow <tommy351@gmail.com> | 2012-01-24 18:24:40 +0100 |
commit | ee892b908a7e1b3b8c1fccb1c4d8b8d54c94f174 (patch) | |
tree | 2c4fe92f279f887bf30f5dcdd236e1679e1b4525 /source/_includes/banner.html | |
parent | f54c3bdd1563d6bbd398c10ad0722396fa2ae75d (diff) | |
download | octopress-theme-jeyzu-ee892b908a7e1b3b8c1fccb1c4d8b8d54c94f174.zip octopress-theme-jeyzu-ee892b908a7e1b3b8c1fccb1c4d8b8d54c94f174.tar.gz |
use site config
Diffstat (limited to 'source/_includes/banner.html')
-rw-r--r-- | source/_includes/banner.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source/_includes/banner.html b/source/_includes/banner.html index 5839bd4..e2493c9 100644 --- a/source/_includes/banner.html +++ b/source/_includes/banner.html @@ -1,7 +1,15 @@ +{% if site.twitter_user %} <div id="banner" class="inner"> <div class="container"> <ul class="feed"></ul> </div> - <small><a href="http://twitter.com/tommy351">tommy351</a> @ <a href="http://twitter.com">Twitter</a></small> + <small><a href="http://twitter.com/{{ site.twitter_user }}">{{ site.twitter_user }}</a> @ <a href="http://twitter.com">Twitter</a></small> <div class="loading">載入中...</div> -</div>
\ No newline at end of file +</div> +<script src="{{ root_url }}/javascripts/twitter.js"></script> +<script type="text/javascript"> + (function($){ + $('#banner').getTwitterFeed('{{ site.twitter_user }}', {{ site.twitter_tweet_count }}); + })(jQuery); +</script> +{% endif %}
\ No newline at end of file |