summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------htmlcup0
-rw-r--r--index.html2
-rw-r--r--index.html.coffee10
-rw-r--r--vaquita.icobin0 -> 4662 bytes
4 files changed, 6 insertions, 6 deletions
diff --git a/htmlcup b/htmlcup
-Subproject 4137d76054e4cd28b9989e08a138a93f9abc1a6
+Subproject e17ca9e82e2e634f6b5fc21150e0dbdeae45902
diff --git a/index.html b/index.html
deleted file mode 100644
index 4a437ac..0000000
--- a/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-<!DOCTYPE html>
-<html><head><title>Vaquitas need you!</title><style type="text/css">body { background:pink }</style></head><body><div>Please don't kill this baby!</div><div>Vaquitas are the smallest marine cetacean.</div><div>Their number has declined by 60% in 10 years, from an estimated 576 in 1997 to perhaps less than 150 individuals now, and could be extict by 2015</div><div>A marine sactuary is Vaquitas' only chance of survival; each year 30 to 80 of them die in fishing nets</div><div>Vaquitas now only survive in a small 40-mile stretch in the Gulf of California</div><div><h1>Petition you can sign</h1><a href="http://www.thepetitionsite.com/445/471/778/protected-reserves-for-critically-endangered-vaquita-porpoises/">Protected Reserves for Critically Endangered Vaquita Porpoises</a></div></body></html> \ No newline at end of file
diff --git a/index.html.coffee b/index.html.coffee
index 698bae7..f44135c 100644
--- a/index.html.coffee
+++ b/index.html.coffee
@@ -13,16 +13,18 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
{ htmlcup } = require './htmlcup'
+fs = require "fs"
title = "Vaquitas need you!"
+icon = "vaquita.ico"
+
+icon = "data:image/x-icon;base64," + (new Buffer(fs.readFileSync(icon))).toString("base64")
htmlcup.html5Page ->
@head ->
+ @link rel:"shortcut icon", href:icon
@title title
- @style type: "text/css",
- """
- body { background:pink }
- """
+ @cssStyle "body { background:pink }"
@body ->
@div "Please don't kill this baby!"
@div "Vaquitas are the smallest marine cetacean."
diff --git a/vaquita.ico b/vaquita.ico
new file mode 100644
index 0000000..19519c5
--- /dev/null
+++ b/vaquita.ico
Binary files differ