notes/Library/Core/Widget/Linked Mentions.md

14 lines
318 B
Markdown
Raw Normal View History

2024-01-22 15:49:44 +01:00
---
description: Adds Linked Mentions to pages
tags: template
2024-09-30 12:15:00 +02:00
hooks.bottom.where: 'true'
2024-01-22 15:49:44 +01:00
---
2024-09-30 12:15:00 +02:00
{{#let @linkedMentions = {link where toPage = @page.name and page != @page.name order by page}}}
{{#if @linkedMentions}}
# Linked Mentions
{{#each @linkedMentions}}
* [[{{ref}}]]: “{{snippet}}”
{{/each}}
{{/if}}
{{/let}}