Skip to content
Browse files

website: favicon.

  • Loading branch information...
1 parent ece0393 commit cf8a441dcfcbd1cd359bd4fde13871dcbc83608b @espadrine espadrine committed
Showing with 5 additions and 1 deletion.
  1. +3 −0 Makefile
  2. +1 −1 svg-to-img.js
  3. BIN web/favicon.png
  4. +1 −0 web/index.html
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; }

0 comments on commit cf8a441

Please sign in to comment.
Something went wrong with that request. Please try again.