oops
parent
4843d460e7
commit
c490ad5ad8
|
@ -46,7 +46,7 @@ sub backlinks ($) { #{{{
|
||||||
}
|
}
|
||||||
@links = sort { $a->{page} cmp $b->{page} } @links;
|
@links = sort { $a->{page} cmp $b->{page} } @links;
|
||||||
|
|
||||||
return \@links, [] if @links <= $config{numbacklinks} && ! $config{numbacklinks};
|
return \@links, [] if @links <= $config{numbacklinks} || ! $config{numbacklinks};
|
||||||
return [@links[0..$config{numbacklinks}-1]],
|
return [@links[0..$config{numbacklinks}-1]],
|
||||||
[@links[$config{numbacklinks}..$#links]];
|
[@links[$config{numbacklinks}..$#links]];
|
||||||
} #}}}
|
} #}}}
|
||||||
|
|
Loading…
Reference in New Issue