]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - IkiWiki/Plugin/goodstuff.pm
Remember to run all the tests before committing!
[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 3.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         repolist
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