{:title "⌛ ON THIS DAY"
:query [:find (pull ?b [*])
:in $ ?today
:where
[?b :block/page ?p]
[?p :block/journal? true]
[?p :block/journal-day ?jd]
[(- ?today ?jd) ?days]
[(mod ?days 10000) ?r]
[(= 0 ?r)]
[(> ?days 0)]]
:inputs [:today]
:collapsed? false}
I have been using this version. Now when I have several years’ worth of journal entries, I’d like to have results displayed as folded by the heading (ie. date). Can anyone help me to get that done?