summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/goodstuff.pm
blob: ed1f4ddfc6cab5d88604be3fbe409ba3a573f642 (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. foreach my $plugin (@bundle) {
  28. IkiWiki::loadplugin($plugin);
  29. }
  30. } # }}}
  31. sub getsetup { #{{{
  32. return
  33. plugin => {
  34. safe => 1,
  35. rebuild => undef,
  36. },
  37. } #}}}
  38. 1