add date to frontmatter