X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/af41f57b22d860d14a7033961ac59b44e4a8fda8..b16fe913ec62f33eb6319552f0e40a3336afbe47:/doc/plugins/favicon/discussion.mdwn diff --git a/doc/plugins/favicon/discussion.mdwn b/doc/plugins/favicon/discussion.mdwn index 3bcadf535..e8b5fd60a 100644 --- a/doc/plugins/favicon/discussion.mdwn +++ b/doc/plugins/favicon/discussion.mdwn @@ -1,10 +1,19 @@ -To change favicon you need edit lib/perl5/site_perl/5.8.8/IkiWiki/Plugin/favicon.pm and change line - $template->param(favicon => "favicon.ico"); -at the end of file -And rebuild wiki: - ikiwiki -setup your_wiki_config +To change favicon you need edit lib/perl5/site_perl/5.8.8/IkiWiki/Plugin/favicon.pm and change line: +> $template->param(favicon => "favicon.ico"); + +at the end of file. And rebuild wiki: +> ikiwiki -setup your_wiki_config + After reload page you'll see your new favicon. That method allow configure Animated PNG even: -ikiwiki.sphynkx.org.ua +> ikiwiki.sphynkx.org.ua + +---- +Sphynkx +> Typically sites that use animated pngs (ugh!) as favicons just call it +> `favicon.ico`. It's not as if (most) web servers and browsers trust +> the filename extension to mean anything anyway. And using favicon.ico +> makes it more likely to work with old browsers that just always look for +> that. --[[Joey]]