]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/orphans.pm
use pagesources rather than renderedfiles to get the list of pages
[ikiwiki.git] / IkiWiki / Plugin / orphans.pm
index f221954b807fedf1eb8612ab13a5a333702dbfe3..65d5e3e9ba503327bbd8e1404a7080b2c85aa1b4 100644 (file)
@@ -26,7 +26,7 @@ sub preprocess (@) { #{{{
        
        my @orphans;
        my $discussion=gettext("discussion");
-       foreach my $page (keys %renderedfiles) {
+       foreach my $page (keys %pagesources) {
                next if $linkedto{$page};
                next unless pagespec_match($page, $params{pages}, $params{page});
                # If the page has a link to some other page, it's