projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd95afe
)
indent
author
Joey Hess
<joey@kitenet.net>
Sat, 25 Dec 2010 17:23:23 +0000
(13:23 -0400)
committer
Joey Hess
<joey@kitenet.net>
Sat, 25 Dec 2010 17:23:23 +0000
(13:23 -0400)
IkiWiki/Plugin/parentlinks.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/parentlinks.pm
b/IkiWiki/Plugin/parentlinks.pm
index 203ea13b649e288fe4935d2743469721c15eb1e1..9f16dd08296a5743084fc390ddde362e3a6a5fe9 100644
(file)
--- a/
IkiWiki/Plugin/parentlinks.pm
+++ b/
IkiWiki/Plugin/parentlinks.pm
@@
-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));