Replace Post.from_slug with Post.from_basename.