Following the discussion from cryogen/#73, this change allows posts to override the date from the filename by setting :date in the post metadata.
I think this change starts to open up the possibility of having different naming conventions for posts and ultimately support a more flexible and user-defined URL structure.
The :date must be in the same format as defined in config.edn. I investigated adding support for #inst date types but then thought that maybe it should be kept in the same format for now so it is easy for a person to read and edit.
Following the discussion from cryogen/#73, this change allows posts to override the date from the filename by setting
:date
in the post metadata.I think this change starts to open up the possibility of having different naming conventions for posts and ultimately support a more flexible and user-defined URL structure.
The
:date
must be in the same format as defined inconfig.edn
. I investigated adding support for#inst
date types but then thought that maybe it should be kept in the same format for now so it is easy for a person to read and edit.