diff --git a/_includes/layouts/post.njk b/_includes/layouts/post.njk index 9a259c0..c8cda8c 100644 --- a/_includes/layouts/post.njk +++ b/_includes/layouts/post.njk @@ -156,16 +156,17 @@ withBlogSidebar: true {% endif %} - {# Linked From — posts that link to this one, computed from raw source files #} - {% set _backlinks = collections.posts | backlinksWith(page.url) %} - {% if _backlinks and _backlinks.length > 0 %} + {# Linked From — merges plugin backlinks ([[wikilinks]]/internal HTML links) + with the existing URL-scan filter. Deduplicated by URL. #} + {% set _allBacklinks = (backlinks if backlinks else []) | mergeBacklinks(collections.posts | backlinksWith(page.url)) %} + {% if _allBacklinks.length > 0 %}

Linked From