Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

website: favicon.

  • Loading branch information...
commit cf8a441dcfcbd1cd359bd4fde13871dcbc83608b 1 parent ece0393
@espadrine espadrine authored
View
3  Makefile
@@ -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
2  svg-to-img.js
@@ -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);
});
View
BIN  web/favicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
1  web/index.html
@@ -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; }
Please sign in to comment.
Something went wrong with that request. Please try again.