Titles in Netlify CMS
Under normal circumstances, the metadata of, for example, a title, is saved by adding this to the start of the file:
--- title: This is the title of my document ---
However, for my particular setup, I would like the title to be added to the beginning of the document as a markdown (H1) header.
# This is the title of my document
Adjusting the title field would make it so that the first H1 markdown header of the document changes to the title that has been specified in that field.
Is there any way to accomplish this?
On that note…
Currently, when no name is specified, the file will show up in the Netlify CMS as having no title at all, which doesn’t look quite right to me.
If it isn’t possible for Netlify CMS to add the title as
# This is the title of my document to the document, it would be great if Netlify CMS could at least display the file name as the title of the document instead of no title at all. This would also solve my issue.
If anyone were to go fancy, an option to either display or hide the file extension in this case would make this bug fix / feature even greater!
Thanks to everyone wanting to help me!