From: Joey Hess Date: Tue, 29 Jan 2008 17:20:17 +0000 (-0500) Subject: update RecentChanges action to point to page X-Git-Tag: 2.30~75 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7a4b7b1964f35527571aee78fb7048284e5d5061;p=ikiwiki.git update RecentChanges action to point to page --- diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 5684f8092..cfe039916 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -82,9 +82,11 @@ sub genpage ($$) { #{{{ if (length $config{cgiurl}) { $template->param(editurl => cgiurl(do => "edit", page => pagetitle($page, 1))); $template->param(prefsurl => cgiurl(do => "prefs")); - if ($config{rcs}) { - $template->param(recentchangesurl => cgiurl(do => "recentchanges")); - } + $actions++; + } + + if ($config{rcs}) { + $template->param(recentchangesurl => urlto("recentchanges", $page)); $actions++; }