diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-24 05:44:07 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-24 05:44:07 +0000 |
commit | 1ae3a0dda5c54704ad16dd4753119a1b9d4f309a (patch) | |
tree | 029873830665ad9c3a355dc5693f7d14b0e1647f | |
parent | 0ce894d18c618e5686bc2183d08e8add0c777dfd (diff) |
Take basename of page link when creating a link. Makes blog posts look
better and I think it's ok.
-rwxr-xr-x | ikiwiki | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -262,7 +262,7 @@ sub htmllink ($$;$$) { #{{{ $bestlink="$page/".lc($link); } - my $linktext=pagetitle($link); + my $linktext=pagetitle(basename($link)); return $linktext if length $bestlink && $page eq $bestlink; |