1
0
silverbullet/website/template/live/incoming.md

11 lines
377 B
Markdown
Raw Normal View History

2023-11-15 13:56:34 +00:00
---
tags: template
2023-12-22 15:40:38 +00:00
type: live
2023-11-15 13:56:34 +00:00
description: |
Shows all tasks that reference (tag) the current page. For instance a task that references `[[John]]` in its name, would appear on the `John` page if it would use this [[sets/tasks/incoming]] template.
order: 2
---
```query
2023-11-21 12:26:48 +00:00
task where name =~ /\[\[{{escapeRegexp @page.name}}\]\]/ where done = false render [[template/task]]
2023-11-15 13:56:34 +00:00
```