Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lguenth/ea65fc3e7ebfa3d4579396a06b0796aa to your computer and use it in GitHub Desktop.
Save lguenth/ea65fc3e7ebfa3d4579396a06b0796aa to your computer and use it in GitHub Desktop.
Templater template: Daily notes with NTNDS
---
creation date: <% tp.file.creation_date() %>
modification date: <% tp.file.last_modified_date("YYYY-MM-DD HH:mm:ss") %>
---
# 💻 Logbook: <% tp.file.title %>
- Intent: 🎋
- `summary of today's focus/intent`
- Log→ 🧮
- [ ] `tiny todos`
- Yesterday's [[NTNDS]]
![[<% tp.date.now("YYYY-MM-DD", -1, tp.file.title) %>#^ntnds]]
- In closing... ⌛️ [[NTNDS]] for [[<% tp.date.now("YYYY-MM-DD", 1, tp.file.title) %> | tomorrow]] ^ntnds
- `where {today me} writes to {tomorrow me}`
---
[[<% tp.date.now("YYYY-MM-DD", -1, tp.file.title) %> | ⇦ Yesterday]] 🌅 [[<% tp.date.now("YYYY-MM-DD", 1, tp.file.title) %> | Tomorrow ⇨]]
@lguenth
Copy link
Author

lguenth commented Mar 12, 2022

Note that this will show you an ugly "heading not found" or similar when it can't find the ^ntnds in the previous day's file. Embeds can be made a bit more seamless with CSS snippets... e.g. this one by Murf: https://gist.github.com/GitMurf/46c9ae78d6c3ce53d42d7832c7601271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment