aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/recentchanges.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-01-05 16:26:09 -0400
committerJoey Hess <joey@kitenet.net>2011-01-05 16:26:09 -0400
commitea734d451ce7680906618b41ac35a0f3904b154a (patch)
treecda265d29db86f3ab5489262ad9736267cc5bca4 /IkiWiki/Plugin/recentchanges.pm
parent885bff723998525c10d7ea8ad295547f5fcc939a (diff)
downloadikiwiki-ea734d451ce7680906618b41ac35a0f3904b154a.tar
ikiwiki-ea734d451ce7680906618b41ac35a0f3904b154a.tar.gz
better handling of relative permalinks
This way, do=goto will go to the page relative to the current location, while the permalinks in feeds will be absolute (unless an url is not configured at all).
Diffstat (limited to 'IkiWiki/Plugin/recentchanges.pm')
-rw-r--r--IkiWiki/Plugin/recentchanges.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/recentchanges.pm b/IkiWiki/Plugin/recentchanges.pm
index 92083a7ad..d6292c3f2 100644
--- a/IkiWiki/Plugin/recentchanges.pm
+++ b/IkiWiki/Plugin/recentchanges.pm
@@ -225,7 +225,7 @@ sub store ($$$) {
wikiname => $config{wikiname},
);
- $template->param(permalink => urlto($config{recentchangespage}, undef, 1)."#change-".titlepage($change->{rev}))
+ $template->param(permalink => urlto($config{recentchangespage})."#change-".titlepage($change->{rev}))
if exists $config{url};
IkiWiki::run_hooks(pagetemplate => sub {