diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-09-16 00:52:26 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-09-16 00:52:26 +0000 |
commit | 0f25ec8eb640a850a8f1efe7081c03d05d04eda4 (patch) | |
tree | 5c290f48fb651b7c8c24849208328ef634ec22e9 /IkiWiki.pm | |
parent | 6206e9a62e06ca9bf55f6bc659e7229ba0b911d1 (diff) | |
download | ikiwiki-0f25ec8eb640a850a8f1efe7081c03d05d04eda4.tar ikiwiki-0f25ec8eb640a850a8f1efe7081c03d05d04eda4.tar.gz |
* pagetemplate hooks are now also called when generating cgi pages.
* Add a favicon plugin, which simply adds a link tag for an icon to each
page (and cgis).
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index 6484e8cb0..174d2413b 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -604,6 +604,9 @@ sub misctemplate ($$;@) { #{{{ baseurl => baseurl(), @_, ); + run_hooks(pagetemplate => sub { + shift->(page => "", destpage => "", template => $template); + }); return $template->output; }#}}} |