Hi
My Idea is following:
I have a Journal Template with that Scritp:
#+BEGIN_QUERY
{:title [:b "Tasks scheduled for this page day <%Today%>"]
:inputs [:query-page] ; lower-case name of the page the query is on
:query [:find (pull ?b [*])
:in $ ?page
:where
[?p :block/name ?page] ; this is always lower-case
[?p :block/journal-day ?day]
[?b :block/scheduled ?day]
[?b :block/marker ?m]
[(contains? #{"TODO" "LATER"} ?m)] ; can use whatever state you want here, just an example
]
}
#+END_QUERY
Source: scheduled tasks on day of journal → Thank you Siferiax for that Query.
If a new journal is created that query shows me all task form that day.
Previous I had a title called " Task from Today <%Today%>" (But I create a new page in the Future the Date of today is taken. Thats not what I need)
Now I want that Titel in the query. Is it possible to get the Page name from the journal in the Titel ?
regards
Floonder