Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save pixonte/c5d819f4d36a25151d91bf739777a0ac to your computer and use it in GitHub Desktop.

Select an option

Save pixonte/c5d819f4d36a25151d91bf739777a0ac to your computer and use it in GitHub Desktop.

Revisions

  1. @dannberg dannberg revised this gist Feb 29, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion obsidian-daily-note-template.txt
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ tags:: [[+Daily Notes]]

    # <% moment(tp.file.title,'YYYY-MM-DD').format("dddd, MMMM DD, YYYY") %>

    << [[<% fileDate = moment(tp.file.title, 'YYYY-MM-DD-dddd').subtract(1, 'd').format('YYYY-MM-DD-dddd') %>|Yesterday]] | [[<% fileDate = moment(tp.file.title, 'YYYY-MM-DD-dddd').add(1, 'd').format('YYYY-MM-DD-dddd') %>|Tomorrow]] >>
    << [[Timestamps/<% tp.date.now("YYYY", -1) %>/<% tp.date.now("MM-MMMM", -1) %>/<% tp.date.now("YYYY-MM-DD-dddd", -1) %>|Yesterday]] | [[Timestamps/<% tp.date.now("YYYY", 1) %>/<% tp.date.now("MM-MMMM", 1) %>/<% tp.date.now("YYYY-MM-DD-dddd", 1) %>|Tomorrow]] >>

    ---
    ### πŸ“… Daily Questions
  2. @dannberg dannberg revised this gist Dec 8, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion obsidian-daily-note-template.txt
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ tags:: [[+Daily Notes]]
    ##### 🌜 Last night, after work, I...
    -

    ##### πŸ™Œ One thing I've excited about right now is...
    ##### πŸ™Œ One thing I'm excited about right now is...
    -

    ##### πŸš€ One+ thing I plan to accomplish today is...
  3. Dann Berg revised this gist Oct 26, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion obsidian-daily-note-template.txt
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ tags:: [[+Daily Notes]]

    # <% moment(tp.file.title,'YYYY-MM-DD').format("dddd, MMMM DD, YYYY") %>

    << [[<% tp.date.now("YYYY-MM-DD-dddd", -1, tp.file.title, "YYYY-MM-DD-dddd") %>]] | [[<% tp.date.now("YYYY-MM-DD-dddd", 1, tp.file.title, "YYYY-MM-DD-dddd") %>]]>>
    << [[<% fileDate = moment(tp.file.title, 'YYYY-MM-DD-dddd').subtract(1, 'd').format('YYYY-MM-DD-dddd') %>|Yesterday]] | [[<% fileDate = moment(tp.file.title, 'YYYY-MM-DD-dddd').add(1, 'd').format('YYYY-MM-DD-dddd') %>|Tomorrow]] >>

    ---
    ### πŸ“… Daily Questions
  4. Dann Berg revised this gist Sep 23, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion obsidian-daily-note-template.txt
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ tags:: [[+Daily Notes]]

    ---
    # πŸ“ Notes
    -
    - <% tp.file.cursor() %>

    ---
    ### Notes created today
  5. Dann Berg revised this gist Sep 7, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion obsidian-daily-note-template.txt
    Original file line number Diff line number Diff line change
    @@ -31,7 +31,7 @@ tags:: [[+Daily Notes]]
    List FROM "" WHERE file.cday = date("<%tp.date.now("YYYY-MM-DD")%>") SORT file.ctime asc
    ```

    ### Notes modified today
    ### Notes last touched today
    ```dataview
    List FROM "" WHERE file.mday = date("<%tp.date.now("YYYY-MM-DD")%>") SORT file.mtime asc
    ```
  6. Dann Berg revised this gist Apr 17, 2022. No changes.
  7. Dann Berg renamed this gist Apr 17, 2022. 1 changed file with 0 additions and 0 deletions.
  8. Dann Berg revised this gist Apr 17, 2022. No changes.
  9. Dann Berg renamed this gist Apr 17, 2022. 1 changed file with 0 additions and 0 deletions.
  10. Dann Berg created this gist Apr 17, 2022.
    37 changes: 37 additions & 0 deletions dannb-obsidian-daily-note-template.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,37 @@
    ---
    created: <% tp.file.creation_date() %>
    ---
    tags:: [[+Daily Notes]]

    # <% moment(tp.file.title,'YYYY-MM-DD').format("dddd, MMMM DD, YYYY") %>

    << [[<% tp.date.now("YYYY-MM-DD-dddd", -1, tp.file.title, "YYYY-MM-DD-dddd") %>]] | [[<% tp.date.now("YYYY-MM-DD-dddd", 1, tp.file.title, "YYYY-MM-DD-dddd") %>]]>>

    ---
    ### πŸ“… Daily Questions
    ##### 🌜 Last night, after work, I...
    -

    ##### πŸ™Œ One thing I've excited about right now is...
    -

    ##### πŸš€ One+ thing I plan to accomplish today is...
    - [ ]

    ##### πŸ‘Ž One thing I'm struggling with today is...
    -

    ---
    # πŸ“ Notes
    -

    ---
    ### Notes created today
    ```dataview
    List FROM "" WHERE file.cday = date("<%tp.date.now("YYYY-MM-DD")%>") SORT file.ctime asc
    ```

    ### Notes modified today
    ```dataview
    List FROM "" WHERE file.mday = date("<%tp.date.now("YYYY-MM-DD")%>") SORT file.mtime asc
    ```