<%* const fm = tp.frontmatter; const created = fm.created || tp.file.creation_date("YYYY-MM-DD[T]HH:mm:ss"); let title = fm.title if (!title){ title = await tp.system.prompt("Enter name"); } let first = fm.first if (!first){ first = await tp.system.prompt("Enter fist date", String(created).substring(0,10)); } datePart = String(first).substring(0,10); await tp.file.rename(`${title} ${datePart}`); -%> --- created: <% created %> category: - "[[People]]" type: aliases: first: <% first %> places: org: birthday: --- ## Events ![[Events.base#Person]]