<%* let title = tp.file.title if (title.startsWith("Untitled")) { title = await tp.system.prompt("Title"); await tp.file.rename(title); } %> <%* if (tp.file.title.includes("(meeting) ")) { %> <% tp.file.move("/meeting notes/" + tp.date.now("YYYY") + "/" + tp.date.now("MM") + "/" + tp.file.title.replace("(meeting) ", "")) %> <%_ tp.file.include('[[Meeting Template]]') %> <%_* } _%> <% tp.file.cursor() %>
Created
July 25, 2021 00:57
-
-
Save h6y3/be396376503b7f513548c9c8589349a7 to your computer and use it in GitHub Desktop.
Templater/Obsidian Date-Based Router with Meeting Notes Use Case
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment