My note titles are my h1-headings. I keep my file names a bit shorter and don’t use special characters in them (in order to avoid illegal file names).
So, for example, my file could be named “Why use front matter.md”.
My main heading, then, could be:
When/Why use front matter?
In my yaml front matter I would put the title again:
---
title: ["When/Why use front matter?"]
---