diff --git a/website/Library/Core/Widget/Linked Tasks.md b/website/Library/Core/Widget/Linked Tasks.md index e10addde..ac4af38b 100644 --- a/website/Library/Core/Widget/Linked Tasks.md +++ b/website/Library/Core/Widget/Linked Tasks.md @@ -2,10 +2,11 @@ tags: template description: | 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. -# Disabled by default for now -# hooks.top.where: 'true' +hooks.top: + where: 'true' + order: 1 --- -{{#let @linkedTasks = {task where not done and name =~ "\[\[" + escapeRegexp(@page.name) + "\]\]"} }} +{{#let @linkedTasks = {task where not done and contains(name, "[[" + @page.name + "]]")}}} {{#if @linkedTasks}} # Linked Tasks {{#each @linkedTasks}}