Skip to content

Commit

Permalink
Changed timeout, added some files, changed deploy dir
Browse files Browse the repository at this point in the history
  • Loading branch information
qpfiffer committed Jan 13, 2014
1 parent d66f344 commit d43332f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash -e

rsync -Paz built/* static shithouse.tv:/var/www/shithouse/oleg/
rsync -Paz built/* static robots.txt favicon.ico shithouse.tv:/var/www/oleg/
Binary file added favicon.ico
Binary file not shown.
4 changes: 4 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# www.robotstxt.org/
# www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156449

User-agent: *
4 changes: 2 additions & 2 deletions static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ function change_text() {
var rand = Math.floor(Math.random() * slogans.length);
change_me = document.getElementById("changing_text");
fade_change(change_me, slogans[rand]);
setTimeout(change_text, 7000);
setTimeout(change_text, 4000);
}
window.onload = function() {
var rand = Math.floor(Math.random() * slogans.length);
change_me = document.getElementById("changing_text");
change_me.innerHTML = slogans[rand];
setInterval(change_text, 7000);
setInterval(change_text, 4000);
};

0 comments on commit d43332f

Please sign in to comment.