`Templates/Daily note template`:
<< [[{{yesterday}}|yesterday]] || [[{{date:YYYY-MM}}|month]] || [[{{tomorrow}}|tomorrow]] >>
# {{date:dddd, MMMM Do, YYYY}}
<% tp.web.daily_quote() %>
## Agenda
> [!todo]+ Today
> ```tasks
> not done
> happens {{date:YYYY-MM-DD}}
> hide recurrence rule
> hide due date
> hide scheduled date
> sort by priority
> ```
> [!danger]+ Overdue
> ```tasks
> not done
> (due before {{date:YYYY-MM-DD}}) OR ((happens before {{date:YYYY-MM-DD}}) AND (priority is above none))
> hide recurrence rule
> sort by due date
> ```
> [!tip]- Next two weeks
> ```tasks
> not done
> happens after {{date:YYYY-MM-DD}}
> happens before {{date+14d:YYYY-MM-DD}}
> hide recurrence rule
> hide due date
> hide scheduled date
> group by happens
> ```
I use the following plugins with this:
- Templater, for `tp` functions
- Periodic Notes, as a superior version of Daily Notes
- Calendar, to navigate daily notes with a calendar view
- Tasks, for task lists
(Dataview might also be required but I honestly don't know, haha).
First, at the top I have navigation links to tomorrow's and yesterday's daily note, as well as the monthly note corresponding to the month of my current daily note. I then have a header with a formatted version of the day's date, and a quote of the day, which I think is a nice way to kick off any given day. Then below that, I have an agenda with 3 sections:
- "Today" which lists incomplete tasks that are due or happen today.
- "Overdue" which lists incomplete tasks that either have a due date before today, or both happened before today and have an associated priority. I do this because sometimes I have tasks with no priority assigned that sometimes don't need to be completed.
- "Next two weeks" which lists incomplete tasks that happen in the next two weeks.
I organize my daily notes by year and then month. For example, today's daily note's path is `Daily notes/2023/10 Oct/2023-10-14.md`.
EDIT: One other thing, I also followed [these steps](https://publish.obsidian.md/tasks/How+To/How+to+style+backlinks#Using%20CSS%20to%20replace%20the%20backlinks%20with%20icons) to style back-links with a hyperlink icon instead of the full path. Let's me still have the back-link without all of the extra text.