code: function getBlogUrl(secure) {
      var blogUrl;
  
      if (secure) {
          blogUrl = config.get('url').replace('http://', 'https://');
      } else {
          blogUrl = config.get('url');
      }
  
      if (!blogUrl.match(/\/$/)) {
          blogUrl += '/';
      }
  
      return blogUrl;
  }
docs: Returns the base URL of the blog as set in the config.
  
  Secure:
  If the request is secure, we want to force returning the blog url as https.
  Imagine Ghost runs with http, but nginx allows SSL connections.
  
  @param {boolean} secure
  @return {string} URL returns the url as defined in config, but always with a trailing `/`