mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-11-26 01:00:27 +02:00
Fixed links (blob not tree)
This commit is contained in:
parent
3462c83498
commit
cb7f835aa9
2
build.js
2
build.js
@ -99,7 +99,7 @@ for (var i = 0; i < source.icons.length; i++) {
|
||||
console.log(source.icons[i].title + ", sat = " + source.icons[i].saturation);
|
||||
var fs = require('fs');
|
||||
var svg = fs.readFileSync(filePath, 'utf8');
|
||||
main += "\t\t\t<li style=\"background-color:#" + source.icons[i].hex + "\"><a href=\"https://github.com/danleech/simpleicons.org/tree/gh-pages/icons/" + fileName + ".svg\">" + svg + source.icons[i].title + "<br><span class=\"hex\">#" + source.icons[i].hex + "</span></a></li>\n";
|
||||
main += "\t\t\t<li style=\"background-color:#" + source.icons[i].hex + "\"><a href=\"https://github.com/danleech/simpleicons.org/blob/gh-pages/icons/" + fileName + ".svg\">" + svg + source.icons[i].title + "<br><span class=\"hex\">#" + source.icons[i].hex + "</span></a></li>\n";
|
||||
}
|
||||
|
||||
// Put all content together and export to index.html
|
||||
|
Loading…
Reference in New Issue
Block a user