Fetch data from a document using front-matter