]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/recentchanges.pm
use template() rather than rolling it by hand
[git.ikiwiki.info.git] / IkiWiki / Plugin / recentchanges.pm
index fa851e46678f208efa04def72e988366df6ea87d..5c7b71aaa64bd02e310b6c5428224ce68ba0679a 100644 (file)
@@ -124,7 +124,7 @@ sub store ($$$) {
        elsif (length $config{cgiurl}) {
                $change->{authorurl} = IkiWiki::cgiurl(
                        do => "goto",
-                       page => (length $config{userdir} ? "$config{userdir}/" : "").$change->{author},
+                       page => IkiWiki::userpage($change->{author}),
                );
        }