silverbullet/website/Library/Core/Widget/Linked Tasks.md

476 B

tags description
template Shows all tasks that contain a link the current page. For instance a task that references `John` in its name, would appear on the `John` page.

{{#let @linkedTasks = {task where not done and name =~ "" + escapeRegexp(@page.name) + ""} }} {{#if @linkedTasks}}

Linked Tasks

{{#each @linkedTasks}} {{template(Library/Core/Query/Task, .)}} {{/each}} {{/if}} {{/let}}