From: Joey Hess Date: Sat, 15 May 2010 00:10:18 +0000 (-0400) Subject: we want the recentchanges link to be the first floating action X-Git-Tag: 3.20100515~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=377e82b16c95833a37c1f87e57122e8b44c187cb;p=ikiwiki.git we want the recentchanges link to be the first floating action --- diff --git a/IkiWiki/Plugin/recentchanges.pm b/IkiWiki/Plugin/recentchanges.pm index 65044080f..7eba931be 100644 --- a/IkiWiki/Plugin/recentchanges.pm +++ b/IkiWiki/Plugin/recentchanges.pm @@ -11,7 +11,8 @@ sub import { hook(type => "getsetup", id => "recentchanges", call => \&getsetup); hook(type => "checkconfig", id => "recentchanges", call => \&checkconfig); hook(type => "refresh", id => "recentchanges", call => \&refresh); - hook(type => "pageactions", id => "recentchanges", call => \&pageactions); + hook(type => "pageactions", id => "recentchanges", call => \&pageactions, + first => 1); hook(type => "pagetemplate", id => "recentchanges", call => \&pagetemplate); hook(type => "htmlize", id => "_change", call => \&htmlize); # Load goto to fix up links from recentchanges