code: function metaTitleFromFileName (filename) {
    if (filename.substr(-1) === '/') {
      filename = filename.substr(0, filename.length - 1);
    }
  
    return decodeURIComponent(filename);
  }
docs: Produce a title from a filename for metadata.
  
  @param {string} filename
  @returns {string} title
  
  @private