From: joey Date: Tue, 14 Mar 2006 06:40:58 +0000 (+0000) Subject: add a special case for discussion pages when determining the links from a X-Git-Tag: 1.0~362 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b8af4e74f73eaa8dc89c42731b801318df6709c9;p=ikiwiki.git add a special case for discussion pages when determining the links from a page, since all pages implicitly link to their disussion page --- diff --git a/ikiwiki b/ikiwiki index 1c16b6725..ad3e06b3f 100755 --- a/ikiwiki +++ b/ikiwiki @@ -165,14 +165,17 @@ sub writefile ($$) { #{{{ close OUT; } #}}} -sub findlinks ($) { #{{{ +sub findlinks ($$) { #{{{ my $content=shift; + my $page=shift; my @links; while ($content =~ /(?