Links to changing file names

Hi,

I’m planning to create a ‘study diary’ in Obsidian. In each entry, I’d like to jot down what the daily lecture(s) covered. I’d also like to view the topics from the lecture(s) one day and one week ago. Please see the screenshot.

It’d be neat if Obsidian could grab the points from the previous lectures and insert them. I was thinking of using a ![[TITLE#SECTION]] kind of link, but I’d still have to insert the titles of the old diary entries manually. Is there any way to have Obsidian always link to the entry a day ago and a week ago? I have in mind something like ![[(today’s date - 1)]], but I don’t know how to express it in code.

For your information, I’m currently using the Calendar plugin and the Periodic Notes plugin for the template.

It’d be much appreciated if someone could help out. Thanks! :slight_smile:

If these will be separate notes, you can use the Templater plugin to embed the topics.

I use this template:

![<% tp.date.now("DD.MMMM.YYYY", -1) %>](<% tp.date.now("DD.MMMM.YYYY", -1) %>)
![<% tp.date.now("DD.MMMM.YYYY", +1) %>](<% tp.date.now("DD.MMMM.YYYY", +1) %>)
![<% tp.date.now("MMMM.YYYY") %>](<% tp.date.now("MMMM.YYYY") %>)
2 Likes

That works excellent. Thanks a lot!

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