summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/goodstuff.pm
blob: 451cd6f84fce568167c1d8ef045baba3513dcb80 (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. repolist
  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