X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/ee1ad53c4c2710aa7ded61bdc56f3a8cce514f22..de468ba12dfc0891145b3f8b432eb97b70b60c0c:/IkiWiki/Plugin/orphans.pm?ds=sidebyside 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.