diff --git a/assets/js/site.js b/assets/js/site.js index 1dfdc72..d93865a 100644 --- a/assets/js/site.js +++ b/assets/js/site.js @@ -33,17 +33,17 @@ function generateCard(data) { /* */ let html = `
-
- - ${data.name} Source Icon`; +
`; if (data.iconUrl) { - html += ``; + html += `${data.name}`; } else { - html += ''; + html += ` + ${data.name} Source Icon + + ${data.name} + `; } - html +=`${data.name} - -
+ html +=`

${data.description}