Obsidian/1000s Templates/Daily Note Template 2.0.md

22 lines
1.1 KiB
Markdown
Executable File

---
date: <% tp.file.title %>
tags:
---
# Links to Other Pages
## Yesterday | Tomorrow
<< [[1 Daily Notes/2025/<%*if (tp.date.weekday("YYYY-MM-DD", 1, tp.file.title, "YYYY-MM-DD") == tp.file.title) { tR += tp.date.now("YYYY-MM-DD", -3, tp.file.title, "YYYY-MM-DD"); } else { tR += tp.date.now("YYYY-MM-DD", -1, tp.file.title, "YYYY-MM-DD");} %>]] | [[1 Daily Notes/2025/<%*if (tp.date.weekday("YYYY-MM-DD", 5, tp.file.title, "YYYY-MM-DD") == tp.file.title) { tR += tp.date.now("YYYY-MM-DD", +3, tp.file.title, "YYYY-MM-DD"); } else { tR += tp.date.now("YYYY-MM-DD", +1, tp.file.title, "YYYY-MM-DD");} %> ]] >>
## This Week's Weekly Note
[[ Weekly Note <%*if (tp.date.weekday("YYYY-MM-DD", 3, tp.file.title, "YYYY-MM-DD") >= tp.file.title) {tR += tp.date.weekday("YYYY-MM-DD", -6, tp.file.title, "YYYY-MM-DD"); } else {tR += tp.date.weekday("YYYY-MM-DD", 1, tp.file.title, "YYYY-MM-DD"); } %>]]
# Summary
## What's the plan?
## What's the results!
```dataview
task
from "1 Daily Notes"
where completed
and completion = date(this.file.name)
and file.name != this.file.name
group by file.name
```
# Calendar Tasks