summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/goodstuff.pm
blob: a18e626d4c94b037d8a05c3c971ab9600f0f6e95 (plain)
  1. #!/usr/bin/perl
  2. # Bundle of good stuff.
  3. package IkiWiki::Plugin::goodstuff;
  4. use warnings;
  5. use strict;
  6. use IkiWiki 2.00;
  7. my @bundle=qw{
  8. brokenlinks
  9. img
  10. map
  11. more
  12. orphans
  13. pagecount
  14. pagestats
  15. progress
  16. shortcut
  17. smiley
  18. tag
  19. table
  20. template
  21. toc
  22. toggle
  23. };
  24. sub import { #{{{
  25. hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
  26. foreach my $plugin (@bundle) {
  27. IkiWiki::loadplugin($plugin);
  28. }
  29. } # }}}
  30. sub getsetup { #{{{
  31. return
  32. plugin => {
  33. safe => 1,
  34. rebuild => undef,
  35. },
  36. } #}}}
  37. 1