]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - IkiWiki/Plugin/goodstuff.pm
po: change a bit the way links are generated
[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         more
14         orphans
15         pagecount
16         pagestats
17         progress
18         shortcut
19         smiley
20         tag
21         table
22         template
23         toc
24         toggle
25 };
27 sub import { #{{{
28         hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
29         foreach my $plugin (@bundle) {
30                 IkiWiki::loadplugin($plugin);
31         }
32 } # }}}
34 sub getsetup { #{{{
35         return 
36                 plugin => {
37                         safe => 1,
38                         rebuild => undef,
39                 },
40 } #}}}
42 1