]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - IkiWiki/Plugin/goodstuff.pm
improve fix to DTRT for a param of "0"
[git.ikiwiki.info.git] / IkiWiki / Plugin / goodstuff.pm
1 #!/usr/bin/perl
2 # Bundle of good stuff.
3 package IkiWiki::Plugin::goodstuff;
5 use warnings;
6 use strict;
7 use IkiWiki 2.00;
9 my @bundle=qw{
10         brokenlinks
11         img
12         map
13         meta
14         orphans
15         pagecount
16         pagestats
17         shortcut
18         smiley
19         tag
20         template
21         toc
22         toggle
23         otl
24 };
26 sub import { #{{{
27         hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
28         IkiWiki::loadplugin($_) foreach @bundle;
29 } # }}}
31 sub getsetup { #{{{
32         return 
33                 plugin => {
34                         safe => 1,
35                         rebuild => undef,
36                 },
37 } #}}}
39 1