I finally dipped my toes into using Templater with Daily Notes for the purpose of having a more dynamic template (dates, breadcrumbs, quotes). Thanks to tips that folks have posted on here, the subreddit, and in blog posts, I was able to get the template working like a charm. There’s a part I haven’t yet gotten to work right yet, and that’s why I’m posting now.
Things I have tried
I’ve done some searching within this forum, as well as general web searches, but I haven’t found the answer to my question.
What I’m trying to do
What I have noticed is that when I create a new Daily Note file from the breadcrumbs (“Next Day”) OR if I use the calendar plugin to create a new Daily Note, the template triggers correctly. However, the newly created notes do not automatically get created in my Daily Notes folder (as I have set in my Daily Note settings). This means I have to manually move newly created Daily Notes into my Daily Notes folder.
Is it possible to get the creation of new Daily Notes – via a link in the template OR the calendar – automatically stored in my Daily Notes folder? If so, how? I’d love to automate this part of the process if possible:
Here is my templater code/syntax for my Daily Note:
creation date: <% tp.file.creation_date() %>
modification date: <% tp.file.last_modified_date(“YYYY-MM-DD HH:mm:ss”) %>
<% tp.file.title %> logbook
[[<% tp.date.now(“YYYY-MM-DD”, -1, tp.file.title) %> | ⇦ Previous Day]] | [[<% tp.date.now(“YYYY-MM-DD”, +1, tp.file.title) %> | Next Day ⇨]]
-
Intent:
-
Log->
-
In closing…
<% tp.web.daily_quote() %>
Screenshot if the code is hard to read:
Any advice or pointers of any kind is much appreciated!