]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - IkiWiki/Plugin/goodstuff.pm
po plugin: implement linking specification in one of the main cases
[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         more
15         orphans
16         pagecount
17         pagestats
18         progress
19         shortcut
20         smiley
21         tag
22         table
23         template
24         toc
25         toggle
26 };
28 sub import { #{{{
29         hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
30         foreach my $plugin (@bundle) {
31                 IkiWiki::loadplugin($plugin);
32         }
33 } # }}}
35 sub getsetup { #{{{
36         return 
37                 plugin => {
38                         safe => 1,
39                         rebuild => undef,
40                 },
41 } #}}}
43 1