Add new custom front matter for yaml

Greetings!

As i mentioned in headline, how can i add custom front matter for my content?

I’am asking this because i want to add custom info about my content.
For example, if my posts still in progress i mean my article didn’t finish yet i want to add tag about [in progress], then if it is done it will become [done].

example.md → in progress

---
title: "Test"
ready: "in progress"
draft: true
---

example.md → done

---
title: "Test"
ready: "done"
draft: true
---

single.html

<cite> {{ .Ready }} </cite>

Try <cite> {{ .Params.Ready }} </cite>.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.