]> sipb.mit.edu Git - ikiwiki.git/blobdiff - ikiwiki
skip old format index file lines for now
[ikiwiki.git] / ikiwiki
diff --git a/ikiwiki b/ikiwiki
index 87414ab5b8e03ea479d34f2830f60e94b2c376b4..bd905a42688e65eaf5ecd3c91c58cea0bb63bb89 100755 (executable)
--- a/ikiwiki
+++ b/ikiwiki
@@ -324,6 +324,8 @@ sub loadindex () { #{{{
                        push @{$items{$item}}, $val;
                }
 
+               next unless exists $items{src}; # skip bad lines for now
+
                my $page=pagename($items{src}[0]);
                if (! $config{rebuild}) {
                        $pagesources{$page}=$items{src}[0];