summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/skeleton.pm
blob: e8d3db0cc6fc7f17cf5ac1b671697d67fde0667b (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. sub import { #{{{
  8. IkiWiki::register_plugin("preprocess", "skeleton", \&preprocess);
  9. } # }}}
  10. sub preprocess (@) { #{{{
  11. my %params=@_;
  12. return "skeleton plugin result";
  13. } # }}}
  14. 1