docs: function createUrl(urlPath, absolute, secure, trailingSlash) {
      urlPath = urlPath || '/';
      absolute = absolute || false;
      var base;
  
      // create base of url, always ends without a slash
      if (absolute) {
          base = getBlogUrl(secure);
      } else {
          base = getSubdir();
      }
  
      if (trailingSlash) {
          if (!urlPath.match(/\/$/)) {
              urlPath += '/';
          }
      }
  
      return urlJoin(base, urlPath);
  }