From d0295d9dc0827cc272f93f20bae2eff783a8fabe Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 21 Aug 2006 22:45:17 +0000 Subject: * Clean up behavior with broken parentlinks. --- IkiWiki/Render.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki') diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index ddd146922..c3736ecb1 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -74,7 +74,7 @@ sub parentlinks ($) { #{{{ foreach my $dir (reverse split("/", $page)) { if (! $skip) { $path.="../"; - unshift @ret, { url => $path.htmlpage($dir), page => pagetitle($dir) }; + unshift @ret, { url => exists $pagesources{$dir} ? $path.htmlpage($dir) : "", page => pagetitle($dir) }; } else { $skip=0; -- cgit v1.2.3