summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/goodstuff.pm
blob: df928f2226d485aba2a582363e59da44db9d229c (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. meta
  12. orphans
  13. pagecount
  14. pagestats
  15. shortcut
  16. smiley
  17. tag
  18. template
  19. toc
  20. toggle
  21. otl
  22. };
  23. sub import { #{{{
  24. hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
  25. IkiWiki::loadplugin($_) foreach @bundle;
  26. } # }}}
  27. sub getsetup { #{{{
  28. return
  29. plugin => {
  30. safe => 1,
  31. rebuild => undef,
  32. },
  33. } #}}}
  34. 1