projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'davrieb/autotag' into autotag
[ikiwiki.git]
/
IkiWiki
/
Plugin
/
parentlinks.pm
diff --git
a/IkiWiki/Plugin/parentlinks.pm
b/IkiWiki/Plugin/parentlinks.pm
index b01d76f8089ee44e85bed1dc50e564b4e1dcdde3..728bbc399fe8b50e247318158a57bd5c2facad96 100644
(file)
--- a/
IkiWiki/Plugin/parentlinks.pm
+++ b/
IkiWiki/Plugin/parentlinks.pm
@@
-16,6
+16,7
@@
sub getsetup () {
plugin => {
safe => 1,
rebuild => 1,
plugin => {
safe => 1,
rebuild => 1,
+ section => "core",
},
}
},
}
@@
-57,7
+58,7
@@
sub pagetemplate (@) {
if ($template->query(name => "parentlinks") ||
$template->query(name => "has_parentlinks")) {
if ($template->query(name => "parentlinks") ||
$template->query(name => "has_parentlinks")) {
- my @links=
[parentlinks($page)]
;
+ my @links=
parentlinks($page)
;
$template->param(parentlinks => \@links);
$template->param(has_parentlinks => (@links > 0));
}
$template->param(parentlinks => \@links);
$template->param(has_parentlinks => (@links > 0));
}