diff options
author | Joey Hess <joey@kitenet.net> | 2011-01-05 15:22:55 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-01-05 15:22:55 -0400 |
commit | 3eabf323f057686796a7dbf9da2fbf0fed4c5728 (patch) | |
tree | c59b5c8e9981a70b0429c5842109e76a869c508c /IkiWiki/Plugin/recentchanges.pm | |
parent | 7a88638c6c47480817fdac02d0a45f1dd56b6d1d (diff) |
Fix permalinks to recentchanges items and comments, broken by last release.
permalinks always need to be full urls
Diffstat (limited to 'IkiWiki/Plugin/recentchanges.pm')
-rw-r--r-- | IkiWiki/Plugin/recentchanges.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/recentchanges.pm b/IkiWiki/Plugin/recentchanges.pm index a64cbb16a..92083a7ad 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)."#change-".titlepage($change->{rev})) + $template->param(permalink => urlto($config{recentchangespage}, undef, 1)."#change-".titlepage($change->{rev})) if exists $config{url}; IkiWiki::run_hooks(pagetemplate => sub { |