summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/skeleton.pm
blob: 89308c45fb973fbf3a6643a14d86b6f2e3cc684b (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 code to make it do something.
  4. package IkiWiki::Plugin::skeleton;
  5. use warnings;
  6. use strict;
  7. use IkiWiki;
  8. sub import { #{{{
  9. IkiWiki::hook(type => "preprocess", id => "skeleton",
  10. call => \&preprocess);
  11. } # }}}
  12. sub preprocess (@) { #{{{
  13. my %params=@_;
  14. return "skeleton plugin result";
  15. } # }}}
  16. 1