Currently, titles are based on frontmatter. If there is no title frontmatter, we default to the filename.
H1 headers should be included in this. I think the order of preference is likely:
- Frontmatter
title, if present
- First H1 Header
- (maybe) Top-most header, regardless of header level
- the filename, minus extension (.md)