2025-12 solstice
A post with the title but no date in the filename, 2025-12-solstice.md, with
date (as 2025-12-21T15:03Z, the
2025 December Solstice)
and author but no title in frontmatter.
Frontmatter optional
This makes sure our title parsing and usage of Lume’s Extract date plugin behaves in this scenario with a title in the filename but no date.
You have to prepend the date to the filename using the
yyyy-mm-ddsyntax followed by a hyphen-or an underscore_(oryyyy-mm-dd-hh-ii-ssif you also need the time). Note that [the date] is removed [by default] when generating the final url […] Dates can be defined in folders, so it's shared by all pages inside […]
The date at the beginning should not be parsed and is assumed here to be part of
the title since it is incomplete. With the current implementation,
solstice-2025-12.md would end up keeping the hyphen and render as
“Solstice-2025-12” compared to “2025-12 solstice” here. I consider this
inconsistency a limitation I can live with for now. There is a draft in the
example posts that tests the scenario with a date and title in the filename.