diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-28 01:59:01 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-28 01:59:01 +0000 |
commit | 9c5f4761d8bf785ca98d5fda66fbbe9dbe11897c (patch) | |
tree | 6e2c8fab91dd051a7acc2cf0ab7c71fc58f6c278 /IkiWiki/Plugin/smiley.pm | |
parent | 21c4bd8444480d6038d217fa2892d13ecce500ff (diff) | |
download | ikiwiki-9c5f4761d8bf785ca98d5fda66fbbe9dbe11897c.tar ikiwiki-9c5f4761d8bf785ca98d5fda66fbbe9dbe11897c.tar.gz |
* Support for looking in multiple directories for underlay files.
* Plugins can add new directories to the search path with the add_underlay
function.
* Split out smiley underlay files into a separate underlay, so if the plugin
isn't used, the wiki isn't bloated with all those files.
Diffstat (limited to 'IkiWiki/Plugin/smiley.pm')
-rw-r--r-- | IkiWiki/Plugin/smiley.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/smiley.pm b/IkiWiki/Plugin/smiley.pm index 96e714d3d..932c2c4fe 100644 --- a/IkiWiki/Plugin/smiley.pm +++ b/IkiWiki/Plugin/smiley.pm @@ -9,6 +9,7 @@ my %smileys; my $smiley_regexp; sub import { #{{{ + add_underlay("smiley"); hook(type => "filter", id => "smiley", call => \&filter); } # }}} |