Last active
April 3, 2024 07:24
-
-
Save dsebastien/db53ee19528289113efed763f5840d4b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%"---"%> | |
energy_level_morning: | |
energy_level_evening: | |
walked: false | |
push_ups: | |
abs: | |
tags: | |
- daily_notes | |
- daily_notes_<% moment(tp.file.title, "YYYY-MM-DD").format("YYYY") %> | |
<%"---"%> | |
<%* | |
const currentMoment = moment(tp.file.title, "YYYY-MM-DD"); | |
const hash = '# '; | |
const slash = ' / '; | |
const pipe = ' | '; | |
const leftAngle = '❮ '; | |
const rightAngle = ' ❯'; | |
tR += hash + currentMoment.format('YYYY-MM-DD - dddd') + '\n'; | |
tR += leftAngle; | |
tR += '[[' + currentMoment.format('YYYY') + ']]' + slash; | |
tR += '[[' + currentMoment.format('YYYY-[Q]Q|[Q]Q') + ']]' + slash; | |
tR += '[[' + currentMoment.format('YYYY-MM|MMMM') + ']]' + slash; | |
tR += '[[' + currentMoment.format('gggg-[W]ww') + '|' + currentMoment.format('[Week] ww') + ']]'; | |
tR += rightAngle; | |
tR += '\n'; | |
tR += leftAngle; | |
currentMoment.add(-1,'days'); | |
tR += '[[' + currentMoment.format('YYYY-MM-DD') + ']]' + pipe; | |
currentMoment.add(1,'days'); | |
tR += currentMoment.format('YYYY-MM-DD') + pipe; | |
currentMoment.add(1,'days'); | |
tR += '[[' + currentMoment.format('YYYY-MM-DD') + ']]'; | |
currentMoment.add(-1,'days'); | |
tR += rightAngle; | |
%> | |
```progressbar | |
kind: day-month | |
name: This Month ({value}/{max}) | |
``` | |
```progressbar | |
kind: day-year | |
name: This Year ({percentage}) | |
``` | |
## Plan for today | |
- | |
## Notes of the day | |
- | |
## Done today | |
- | |
## Discovered today | |
- | |
## Interesting links | |
- | |
## On This Day | |
```dataview | |
LIST | |
FROM "40 Journal/41 Daily Notes" | |
WHERE dateformat(date(file.name), "MM-dd") = dateformat(date(this.file.name), "MM-dd") AND file.name != this.file.name | |
``` | |
## Gratitude | |
- | |
## On This Day | |
```dataview | |
LIST | |
FROM "40 Journal/41 Daily Notes" | |
WHERE dateformat(date(file.name), "MM-dd") = dateformat(date(this.file.name), "MM-dd") AND file.name != this.file.name | |
``` | |
## Notes Created Today | |
```dataview | |
TABLE tags as "Tags" | |
FROM "" AND !"40 Journal" AND !"50 Resources" AND !"20 Projects/YouTube" | |
WHERE contains(dateformat(file.ctime, "YYYY-MM-dd"), dateformat(this.file.day, "YYYY-MM-dd")) | |
``` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment