- foreach my $id (@plugins) {
- my $title="\t# $id".($id ne $config{rcs} ? " plugin" : "");
- if (exists $IkiWiki::hooks{getsetup}{$id}{call}) {
- # use an array rather than a hash, to preserve order
- my @s=eval { $IkiWiki::hooks{getsetup}{$id}{call}->() };
- next unless @s;
- push @ret, "", $title;
- push @ret, dumpvalues(\%setup, @s);
- }
- }
-