From b72f72596d5efdb9a47a799d0d168853b2da114b Mon Sep 17 00:00:00 2001 From: Michele Bini Date: Fri, 2 Aug 2013 09:02:43 +0200 Subject: Add a (very small) vaquita icon diff --git a/htmlcup b/htmlcup index 4137d76..e17ca9e 160000 --- a/htmlcup +++ b/htmlcup @@ -1 +1 @@ -Subproject commit 4137d76054e4cd28b9989e08a138a93f9abc1a64 +Subproject commit e17ca9e82e2e634f6b5fc21150e0dbdeae459027 diff --git a/index.html b/index.html deleted file mode 100644 index 4a437ac..0000000 --- a/index.html +++ /dev/null @@ -1,2 +0,0 @@ - -Vaquitas need you!
Please don't kill this baby!
Vaquitas are the smallest marine cetacean.
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
A marine sactuary is Vaquitas' only chance of survival; each year 30 to 80 of them die in fishing nets
Vaquitas now only survive in a small 40-mile stretch in the Gulf of California

Petition you can sign

Protected Reserves for Critically Endangered Vaquita Porpoises
\ 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 . { 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 Binary files /dev/null and b/vaquita.ico differ -- cgit v0.10.2