internal/docs/themes/hugo-theme-learn/static/js/hugo-learn.js
function getUrlParameter(sPageURL) {
    var url = sPageURL.split('?');
    var obj = {};
    if (url.length == 2) {
      var sURLVariables = url[1].split('&'),
          sParameterName,
          i;
      for (i = 0; i < sURLVariables.length; i++) {
          sParameterName = sURLVariables[i].split('=');
          obj[sParameterName[0]] = sParameterName[1];
      }
      return obj;
    } else {
      return undefined;
    }
}
function getUrlParameter(sPageURL) {
    var url = sPageURL.split('?');
    var obj = {};
    if (url.length == 2) {
      var sURLVariables = url[1].split('&'),
          sParameterName,
          i;
      for (i = 0; i < sURLVariables.length; i++) {
          sParameterName = sURLVariables[i].split('=');
          obj[sParameterName[0]] = sParameterName[1];
      }
      return obj;
    } else {
      return undefined;
    }
}
function getUrlParameter ( sPageURL ) { var url = sPageURL . split ( '?' ) ; var obj = { } ; if ( url . length == 2 ) { var sURLVariables = url [ 1 ] . split ( '&' ) , sParameterName , i ; for ( i = 0 ; i < sURLVariables . length ; i ++ ) { sParameterName = sURLVariables [ i ] . split ( '=' ) ; obj [ sParameterName [ 0 ] ] = sParameterName [ 1 ] ; } return obj ; } else { return undefined ; } }
Get Parameters from some url
Get Parameters from some url