Files
bobbie-pkm/Templates/People, Patient Template.md
2026-03-02 17:06:32 +00:00

607 B

<%* 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: