I’m trying to setup a daily notes planner using periodic notes, calendar and templater
each note will have a reference to the day before and after via this
<< [[<% moment(tp.file.title, "YYYY-MM-DD").subtract(1, 'd').format("YYYY-MM-DD") %>]] | [[<% moment(tp.file.title, "YYYY-MM-DD").add(1, 'd').format("YYYY-MM-DD") %>]] >>
So far it seems to be ok, If i click on a calendar it correctly creates the daily note. It will work even if you click ahead on a future date. The problem seems to be when i open a daily note and click on the link to previous / next days it creates a blank page without importing the template.
Am i missing something? I’ve got the setting for import template on new page.