function renderLicenseLink(license) {
  switch(license) {
    case "GNU AGPLv3":
      return "https://www.gnu.org/licenses/agpl-3.0";
    case "GNU GPLv3":
      return "https://www.gnu.org/licenses/gpl-3.0";
    case "GNU LGPLv3":
      return "https://www.gnu.org/licenses/lgpl-3.0";
    case "Mozilla Public License 2.0":
      return "https://opensource.org/licenses/MPL-2.0";
    case "Apache License 2.0":
      return "https://opensource.org/licenses/Apache-2.0";
    case "MIT License":
      return "https://opensource.org/licenses/MIT";
    case "Boost Software License 1.0":
      return "https://www.boost.org/LICENSE_1_0.txt";
    case "The Unlicense":
      return "http://unlicense.org/";
    default:
      return "";
  }
}
// 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 renderLicenseLink(license) {
  switch(license) {
    case "GNU AGPLv3":
      return "https://www.gnu.org/licenses/agpl-3.0";
    case "GNU GPLv3":
      return "https://www.gnu.org/licenses/gpl-3.0";
    case "GNU LGPLv3":
      return "https://www.gnu.org/licenses/lgpl-3.0";
    case "Mozilla Public License 2.0":
      return "https://opensource.org/licenses/MPL-2.0";
    case "Apache License 2.0":
      return "https://opensource.org/licenses/Apache-2.0";
    case "MIT License":
      return "https://opensource.org/licenses/MIT";
    case "Boost Software License 1.0":
      return "https://www.boost.org/LICENSE_1_0.txt";
    case "The Unlicense":
      return "http://unlicense.org/";
    default:
      return "";
  }
}
function renderLicenseLink ( license ) { switch ( license ) { case "GNU AGPLv3" : return "https://www.gnu.org/licenses/agpl-3.0" ; case "GNU GPLv3" : return "https://www.gnu.org/licenses/gpl-3.0" ; case "GNU LGPLv3" : return "https://www.gnu.org/licenses/lgpl-3.0" ; case "Mozilla Public License 2.0" : return "https://opensource.org/licenses/MPL-2.0" ; case "Apache License 2.0" : return "https://opensource.org/licenses/Apache-2.0" ; case "MIT License" : return "https://opensource.org/licenses/MIT" ; case "Boost Software License 1.0" : return "https://www.boost.org/LICENSE_1_0.txt" ; case "The Unlicense" : return "http://unlicense.org/" ; default : return "" ; } }
If there is no license, return an empty string
If there is no license return an empty string