function renderLicenseBadge(data) {

  if (data.license == "Apache 2.0") {
    return "![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)";
  } else if (data.license == "BSD 3-Clause License") {
    return "![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)";
  } else if (data.license == "Attribution CC BY") {
    return "![licensebuttons by](https://licensebuttons.net/l/by/3.0/88x31.png)";
  } else if (data.license == "Attribution-ShareAlike CC BY-SA") {
    return "![licensebuttons by-sa](https://licensebuttons.net/l/by-sa/3.0/88x31.png)";
  } else if (data.license == "Attribution-NoDerivs CC BY-ND") {
    return "![licensebuttons by-nd](https://licensebuttons.net/l/by-nd/3.0/88x31.png)";
  } else if (data.license == "Attribution-NonCommercial CC BY-NC") {
    return "![licensebuttons by-nc](https://licensebuttons.net/l/by-nc/3.0/88x31.png)";
  } else if (data.license == "Attribution-NonCommercial-ShareAlike CC BY-NC-SA") {
    return "![licensebuttons by-nc-sa](https://licensebuttons.net/l/by-nc-sa/3.0/88x31.png)";
  } else if (data.license == "The MIT License") {
    return "![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)";
  } else if (data.license == "No License") {
    return "";
  } else {console.log("Uhhh. Something weird happened.... Restart the whole thing...") }

}
// If there is no license, return an empty string
If there is no license, return an empty string
If there is no license return an empty string
function renderLicenseBadge(data) {
  if (data.license == "Apache 2.0") {
    return "![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)";
  } else if (data.license == "BSD 3-Clause License") {
    return "![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)";
  } else if (data.license == "Attribution CC BY") {
    return "![licensebuttons by](https://licensebuttons.net/l/by/3.0/88x31.png)";
  } else if (data.license == "Attribution-ShareAlike CC BY-SA") {
    return "![licensebuttons by-sa](https://licensebuttons.net/l/by-sa/3.0/88x31.png)";
  } else if (data.license == "Attribution-NoDerivs CC BY-ND") {
    return "![licensebuttons by-nd](https://licensebuttons.net/l/by-nd/3.0/88x31.png)";
  } else if (data.license == "Attribution-NonCommercial CC BY-NC") {
    return "![licensebuttons by-nc](https://licensebuttons.net/l/by-nc/3.0/88x31.png)";
  } else if (data.license == "Attribution-NonCommercial-ShareAlike CC BY-NC-SA") {
    return "![licensebuttons by-nc-sa](https://licensebuttons.net/l/by-nc-sa/3.0/88x31.png)";
  } else if (data.license == "The MIT License") {
    return "![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)";
  } else if (data.license == "No License") {
    return "";
  } else {console.log("Uhhh. Something weird happened.... Restart the whole thing...") }
}
function renderLicenseBadge ( data ) { if ( data . license == "Apache 2.0" ) { return "![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)" ; } else if ( data . license == "BSD 3-Clause License" ) { return "![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)" ; } else if ( data . license == "Attribution CC BY" ) { return "![licensebuttons by](https://licensebuttons.net/l/by/3.0/88x31.png)" ; } else if ( data . license == "Attribution-ShareAlike CC BY-SA" ) { return "![licensebuttons by-sa](https://licensebuttons.net/l/by-sa/3.0/88x31.png)" ; } else if ( data . license == "Attribution-NoDerivs CC BY-ND" ) { return "![licensebuttons by-nd](https://licensebuttons.net/l/by-nd/3.0/88x31.png)" ; } else if ( data . license == "Attribution-NonCommercial CC BY-NC" ) { return "![licensebuttons by-nc](https://licensebuttons.net/l/by-nc/3.0/88x31.png)" ; } else if ( data . license == "Attribution-NonCommercial-ShareAlike CC BY-NC-SA" ) { return "![licensebuttons by-nc-sa](https://licensebuttons.net/l/by-nc-sa/3.0/88x31.png)" ; } else if ( data . license == "The MIT License" ) { return "![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)" ; } else if ( data . license == "No License" ) { return "" ; } else { console . log ( "Uhhh. Something weird happened.... Restart the whole thing..." ) } }
If there is no license, return an empty string
If there is no license return an empty string