diff options
Diffstat (limited to 'source/_includes/twitter.html')
-rw-r--r-- | source/_includes/twitter.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source/_includes/twitter.html b/source/_includes/twitter.html index 4d688480..81f2cebd 100644 --- a/source/_includes/twitter.html +++ b/source/_includes/twitter.html @@ -1,5 +1,13 @@ -<h4>On Twitter</h4> +<h1>Latest Tweets</h1> <ul id="tweets"> Status updating... </ul> -<p>Follow <a href="http://twitter.com/#{page.twitter_user}">@{{ site.twitter_user }}</a></p> +<p>Follow <a href="http://twitter.com/{{site.twitter_user}}">@{{ site.twitter_user }}</a></p> +{% if site.twitter_user %} + <script> + var twitter_user = "{{site.twitter_user}}"; + var show_replies = {{site.show_replies}}; + var tweet_count = {{site.tweet_count}}; + </script> + <script src="/javascripts/twitter.js" type="text/javascript"></script> +{% endif %} |