Replace YAML front matter with the title inside it.