I would like to have different favicons for different parts (folders) of my Ikiwiki site, like you can have different CSS files via the localstyle plugin. Is this possible? If not, could it be made possible?

You could use pagetemplate to override all of page.tmpl, but that's using a sledgehammer to crack a nut.

Another way to do it would be to modify IkiWiki/Plugins/favicon.pm to use bestlink to find the favicon, like localstyle does. If you made it a config option (localfavicon => 1 or something) it could probably be included in ikiwiki as part of the official favicon plugin?

Another way would be to have a new localfavicon plugin which overrides the template variable from favicon, using last => 1 to make sure it "wins".

Comment by smcv Mon Nov 21 07:37:02 2011
I did as you suggested (finally) and created a simple modification of the favicon plugin: localfavicon. It checks for the "localfavicon" option, and if it is set, it uses bestlink() to determine which favicon to use for each page; if not, it behaves just like the original favicon plugin.
Comment by Franek Mon Jun 25 05:58:03 2012