summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-04 04:29:37 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-04 04:29:37 +0000
commitbe56970d0565cc259bf28b1a3aa9582269c8d41f (patch)
tree086f7b2927fc14680016486eb3a9a8a71b35f08f /IkiWiki/Plugin
parentb3d24f6a63a8467c2df45ad74ee952aec5647e67 (diff)
* Added smiley plugin, nicely controlled and documented by the smileys page.
* Copied in some smileys from Moin Moin.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/skeleton.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/skeleton.pm b/IkiWiki/Plugin/skeleton.pm
index d6d8cc0ed..cae4c02ec 100644
--- a/IkiWiki/Plugin/skeleton.pm
+++ b/IkiWiki/Plugin/skeleton.pm
@@ -13,6 +13,8 @@ sub import { #{{{
call => \&checkconfig);
IkiWiki::hook(type => "preprocess", id => "skeleton",
call => \&preprocess);
+ IkiWiki::hook(type => "filter", id => "skeleton",
+ call => \&filter);
IkiWiki::hook(type => "delete", id => "skeleton",
call => \&delete);
IkiWiki::hook(type => "render", id => "skeleton",
@@ -31,6 +33,14 @@ sub preprocess (@) { #{{{
return "skeleton plugin result";
} # }}}
+sub filter ($) { #{{{
+ my $content=shift;
+
+ IkiWiki::debug("skeleton plugin running as filter");
+
+ return $content;
+} # }}}
+
sub delete (@) { #{{{
my @files=@_;