diff options
| author | Michele Bini <michele.bini@gmail.com> | 2013-08-02 07:02:43 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2013-08-02 07:02:43 (GMT) |
| commit | b72f72596d5efdb9a47a799d0d168853b2da114b (patch) | |
| tree | cf12f1de436b993671a30bb237505010ed067404 | |
| parent | b1a7ef91adefef48fe84c04f0563ec58ed163e1e (diff) | |
Add a (very small) vaquita icon
| m--------- | htmlcup | 0 | ||||
| -rw-r--r-- | index.html | 2 | ||||
| -rw-r--r-- | index.html.coffee | 10 | ||||
| -rw-r--r-- | vaquita.ico | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000..19519c5 --- /dev/null +++ b/vaquita.ico |
