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 /index.html.coffee | |
| parent | b1a7ef91adefef48fe84c04f0563ec58ed163e1e (diff) | |
Add a (very small) vaquita icon
Diffstat (limited to 'index.html.coffee')
| -rw-r--r-- | index.html.coffee | 10 |
1 files changed, 6 insertions, 4 deletions
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." |
