Merge commit 'smcv/updated'
[ikiwiki] / IkiWiki / Plugin / goodstuff.pm
1 #!/usr/bin/perl
2 # Bundle of good stuff.
3 package IkiWiki::Plugin::goodstuff;
4
5 use warnings;
6 use strict;
7 use IkiWiki 3.00;
8
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 };
27
28 sub import {
29         hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
30         foreach my $plugin (@bundle) {
31                 IkiWiki::loadplugin($plugin);
32         }
33 }
34
35 sub getsetup {
36         return 
37                 plugin => {
38                         safe => 1,
39                         rebuild => undef,
40                 },
41 }
42
43 1