summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/goodstuff.pm
blob: 46f2380cfa4ca98f071a45219c6fa9514d8f664c (plain)
  1. #!/usr/bin/perl
  2. # Bundle of good stuff.
  3. package IkiWiki::Plugin::goodstuff;
  4. use warnings;
  5. use strict;
  6. use IkiWiki 3.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