summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2012-03-13 00:36:34 -0400
committerThomas Park <thomas@thomaspark.me>2012-03-13 00:36:34 -0400
commit4b6bb3e7c781fe6b831f16199de98bae65118e3f (patch)
tree1e9661206b9e5215e98b91aa29f8197e3bf61950
parentd7d2c971841b03230c84d4463d9c526913c376ce (diff)
index: added random taglines
-rw-r--r--index.html3
-rw-r--r--js/bootswatch.js8
2 files changed, 10 insertions, 1 deletions
diff --git a/index.html b/index.html
index c3682a82..554f42d9 100644
--- a/index.html
+++ b/index.html
@@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="Saving the web from default Bootstrap.">
<title>Bootswatch: Free themes for Twitter Bootstrap</title>
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
@@ -58,7 +59,7 @@
<!-- Main hero unit for a primary marketing message or call to action -->
<div class="hero-unit">
<h1>Bootswatch</h1>
- <p>Add color to your <a target="_blank" href="http://twitter.github.com/bootstrap/">Bootstrap</a> site without touching a color picker.</p>
+ <p id="tagline">&nbsp;</p>
<div id="social">
<div class="span4 github">
diff --git a/js/bootswatch.js b/js/bootswatch.js
index 8111a151..3abbc701 100644
--- a/js/bootswatch.js
+++ b/js/bootswatch.js
@@ -44,3 +44,11 @@ menu = menu + ' </ul> \
$('a[rel=tooltip]').tooltip({
'placement': 'bottom'
});
+
+var taglines = [];
+taglines.push('Add color to your <a target="_blank" href="http://twitter.github.com/bootstrap/">Bootstrap</a> site without touching a color picker.');
+taglines.push('Saving the web from default <a target="_blank" href="http://twitter.github.com/bootstrap/">Bootstrap</a>.');
+
+var line = Math.floor((taglines.length) * Math.random());
+$('#tagline').html(taglines[line]);
+