YAML for content automation

Probably just install the Dataview and Templater community plugins and try these out.

Templater Docs
Dataview Docs

My latest example on using these, a recipe database: Help: #howto Build Recipe "database" in Obsidian (complex) (mainly Dataview, though).

HTH