summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/skeleton.pm
blob: c9a7a421d4c5b67e16cd14162f735f375a16e684 (plain)
  1. #!/usr/bin/perl
  2. # Ikiwiki skeleton plugin. Replace "skeleton" with the name of your plugin
  3. # in the lines below, and flesh out the methods to make it do something.
  4. package IkiWiki::Plugin::skeleton;
  5. use warnings;
  6. use strict;
  7. use IkiWiki;
  8. sub import { #{{{
  9. IkiWiki::register_plugin("preprocess", "skeleton", \&preprocess);
  10. } # }}}
  11. sub preprocess (@) { #{{{
  12. my %params=@_;
  13. return "skeleton plugin result";
  14. } # }}}
  15. 1