code: function (file, parent, type) {
          var fileDetails = path.parse(file),
              filePath = (type === 'static') ?
                  path.join(fileDetails.dir, fileDetails.name + fileDetails.ext) :
                  path.join(fileDetails.dir, fileDetails.name);
  
          return {
              name: filePath,
              parentDir: parent,
              href: parent + filePath
          };
      }
docs: Resolves relative parent and own name of a specific file
  @param  {String} file       Path to corresponding file
  @param  {String} parent     Parent relative to the corresponding file
  @param  {String} type       Type of the corresponding file [post, page, static]
  @return {Object}            Object containing single content files from a given type