# Pastebin jLF6LDe6
diff --git a/htmlify.p6 b/htmlify.p6
--- a/htmlify.p6
+++ b/htmlify.p6
@@ -561,7 +561,7 @@ sub find-definitions(:$pod, :$origin, :$
my $new-head = Pod::Heading.new(
:level(@pod-section[$i].level),
- :contents[pod-link "$subkinds $name",
+ :contents[pod-link "$origin.name() $subkinds $name",
$created.url ~ "#$origin.human-kind() $origin.name()".subst(:g, /\s+/, '_')
]
);