]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/orphans.pm
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[ikiwiki.git] / IkiWiki / Plugin / orphans.pm
index 3a0150d53e4c52b08fe076bf276c1bb2e6e563dd..0f96b9397445ea6f15b4b82cd2bded46143f6aaf 100644 (file)
@@ -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.