]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Render.pm
Process .md like .mdwn, but disallow web creation.
[git.ikiwiki.info.git] / IkiWiki / Render.pm
index bdebaa64583501c87291877766dda5edddbab52a..130257f718adc24be173008e1f550aa5b51502dd 100644 (file)
@@ -111,7 +111,7 @@ sub genpage ($$) {
        }
        templateactions($template, $page);
 
-       my @backlinks=sort { $a->{page} cmp $b->{page} } backlinks($page);
+       my @backlinks=sort { $a->{page} cmp $b->{page} || $a->{url} cmp $b->{url} } backlinks($page);
        my ($backlinks, $more_backlinks);
        if (@backlinks <= $config{numbacklinks} || ! $config{numbacklinks}) {
                $backlinks=\@backlinks;
@@ -326,6 +326,7 @@ sub find_src_files (;$$$) {
                $page = pagename($file);
                if (! exists $pagesources{$page} &&
                    file_pruned($file)) {
+                       no warnings 'once';
                        $File::Find::prune=1;
                        return;
                }