Update post title and add frontmatter