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