indent
authorJoey Hess <joey@kitenet.net>
Sat, 25 Dec 2010 17:23:23 +0000 (13:23 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 25 Dec 2010 17:23:23 +0000 (13:23 -0400)
IkiWiki/Plugin/parentlinks.pm

index 203ea13b649e288fe4935d2743469721c15eb1e1..9f16dd08296a5743084fc390ddde362e3a6a5fe9 100644 (file)
@@ -65,7 +65,7 @@ sub pagetemplate (@) {
         my $template=$params{template};
 
        if ($template->query(name => "parentlinks") ||
-          $template->query(name => "has_parentlinks")) {
+           $template->query(name => "has_parentlinks")) {
                my @links=parentlinks($params{page});
                $template->param(parentlinks => \@links);
                $template->param(has_parentlinks => (@links > 0));