4The contextual sidebar: query current page and organize pages in indexes discuss.logseq.comc/logseq · by alexl@programming.dev · 3y · 0 comments
2Queries in the sidebar can refer to the current page! pkm.socialc/logseq · by alexl@programming.dev · 3y · 6 comments
1Graphical explanation of pages, blocks and references discuss.logseq.comc/logseq · by alexl@programming.dev · 3y · 0 comments
on Queries in the sidebar can refer to the current page! · c/logseq · 3 pts · 3yDoes this work in the right sidebar for you? For me it does: {{query (and <%current page%> (todo todo doing waiting))}} P.S. delete the word "doing" if you don't want to see the DOING tasks.
on Queries in the sidebar can refer to the current page! · c/logseq · 3 pts · 3yAssuming you tag the top of an index as [[index]]: Current page in indexes: {{query (and [[index]] <%current page%> (not (page <%current page%>)))}} Indexes present in the current page: {{query (and [[index]] (page <%current page%>))}} Notes about the current page: {{query (and [[Note]] <%current page%>)}} Current page as "author" of something: {{query (property author <%current page%>)}}
You are welcome!
Does this work in the right sidebar for you? For me it does:
{{query (and <%current page%> (todo todo doing waiting))}}P.S. delete the word "doing" if you don't want to see the DOING tasks.
Assuming you tag the top of an index as [[index]]:
Current page in indexes:
{{query (and [[index]] <%current page%> (not (page <%current page%>)))}}Indexes present in the current page:
{{query (and [[index]] (page <%current page%>))}}Notes about the current page:
{{query (and [[Note]] <%current page%>)}}Current page as "author" of something:
{{query (property author <%current page%>)}}