website: favicon.

This commit is contained in:
Thaddee Tyl 2014-01-17 15:30:13 +01:00
parent ece0393852
commit cf8a441dcf
4 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,9 @@
all:
node make
favicon:
node gh-badge.js '' '' '#bada55' .png > web/favicon.png
deploy:
git add Verdana.ttf
git commit -m'MUST NOT BE ON GITHUB'

View File

@ -35,7 +35,7 @@ module.exports = function (svg, format, out, cb) {
});
// Remove the temporary file after use.
inStream.on('end', function() {
out.end();
try { out.end(); } catch(e) {}
addToCache(cacheIndex, cached);
fs.unlink(tmpFile, cb);
});

BIN
web/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

View File

@ -2,6 +2,7 @@
<meta charset=utf-8>
<title> Badge Service </title>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<link rel='icon' type='image/png' href='favicon.png'>
<link href='//fonts.googleapis.com/css?family=Vollkorn' rel='stylesheet'>
<style>
:root { text-align: center; font-family: Linux Libertine O, Vollkorn, serif; }