aboutsummaryrefslogtreecommitdiff
path: root/source/_includes/twitter.html
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-05-15 18:33:00 -0400
committerBrandon Mathis <brandon@imathis.com>2011-05-15 18:33:00 -0400
commitc7d5365f81552cae16bbb91696ca3e67b4a0a2e9 (patch)
tree76c57e41828a3492535cde7fe82bef98ccea0eb4 /source/_includes/twitter.html
parente4c2d5790bac6a74037638fde049c374fc44cc7b (diff)
downloadmy_new_personal_website-c7d5365f81552cae16bbb91696ca3e67b4a0a2e9.tar.xz
my_new_personal_website-c7d5365f81552cae16bbb91696ca3e67b4a0a2e9.zip
major refactoring, improved file watching, changed site to public to support rack via pow (http://pow.cx) also implemented the basics of a 320 and up design refresh on the classic theme. This should make it great for mobile reading
Diffstat (limited to 'source/_includes/twitter.html')
-rw-r--r--source/_includes/twitter.html12
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 %}