Add an updated link to current weekly note in daily note

What I’m trying to do

I use the Periodic Notes and the Calendar plugins for daily, weekly, monthly, quarterly, and yearly notes. Each day my daily note automatically populates, which is great. What I’d like to have is a link to the week’s current weekly note automatically populate on each daily note to make it easier to navigate between the two. Of course, I could just click the weekly note day on the Calendar plugin’s sidebar view, which is what I’m currently doing, but it’s never top of mind and I tend to neglect looking at my weekly note for review and what not. I’m hoping if I have a link right to it in my daily log, which I’m reviewing all the time, that I’ll be better at reviewing my weekly notes too.

My weekly notes title YYYY-WDD (2024-W23). Is there a way to get a link to whatever the current weekly note is on my daily notes to populate automatically, maybe with something like Templater?

Assuming your daily notes are named with the format YYYY-MM-DD, you could add this to your Templater-Template for your daily notes:

[[<% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-[W]ww")%>]]

This will add a link to your corresponding weekly note.

That seems to have done it - thanks so much!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.