<%*
const noteTitle = await tp.system.prompt("Title")
const title = tp.user.zettelize(noteTitle)
tp.hooks.on_all_templates_executed(async () => {
const file = tp.file.find_tfile(tp.file.path(true));
await app.fileManager.processFrontMatter(file, (frontmatter) => {
frontmatter["aliases"] = [noteTitle]
});
});
${tp.user.variables("plantationsPath")}/${title})