YAML Front Matter

You can provide structured YAML front matter inside your posts. Then, use that inside your template.

---
title: "My first post"
published: true
myKey: "Some value"
---

MyKey: { myKey }

This will, of course, render MyKey: Some Value