I’ve created an action that will export a Draft to a folder. I’d like to specify the file name based on the date and the title, which are both fairly straightforward using the [[date|format]] and [[safe_title]] tags. However, my Drafts all have a YAML header and no real title because the first line is three dashes; which are used to define the YAML data.
Is there a way to have the [[safe_title]] tag evaluate something other than the first line or some other workaround for this? The title is actually defined in the YAML header and I would prefer if it could grab that, but I’m open to any ideas.