X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/ee1ad53c4c2710aa7ded61bdc56f3a8cce514f22..833610a5b4b2ebcb96c25751bef173d85f767522:/IkiWiki/Plugin/orphans.pm diff --git a/IkiWiki/Plugin/orphans.pm b/IkiWiki/Plugin/orphans.pm index 3a0150d53..0f96b9397 100644 --- a/IkiWiki/Plugin/orphans.pm +++ b/IkiWiki/Plugin/orphans.pm @@ -27,7 +27,7 @@ sub preprocess (@) { #{{{ my @orphans; my $discussion=gettext("discussion"); foreach my $page (keys %pagesources) { - next if $linkedto{$page}; + next if $linkedto{$page} || $page eq 'index'; next unless pagespec_match($page, $params{pages}, location => $params{page}); # If the page has a link to some other page, it's # indirectly linked to a page via that page's backlinks.