diff options
author | http://smcv.pseudorandom.co.uk/ <smcv@web> | 2011-11-21 07:37:02 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2011-11-21 07:37:02 -0400 |
commit | 3383ebbc840047075f39c495434b212966e3e3dd (patch) | |
tree | 810629750b9f593e71aed2b7d612a99f21ad1df1 | |
parent | e4a08ceb3b8b06065aa9b3501daaaefa40352e55 (diff) | |
download | ikiwiki-3383ebbc840047075f39c495434b212966e3e3dd.tar ikiwiki-3383ebbc840047075f39c495434b212966e3e3dd.tar.gz |
Added a comment
-rw-r--r-- | doc/forum/Can_I_have_different_favicons_for_each_folder__63__/comment_1_a01112ba235e2f44a7655c36ef680e7e._comment | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/forum/Can_I_have_different_favicons_for_each_folder__63__/comment_1_a01112ba235e2f44a7655c36ef680e7e._comment b/doc/forum/Can_I_have_different_favicons_for_each_folder__63__/comment_1_a01112ba235e2f44a7655c36ef680e7e._comment new file mode 100644 index 000000000..dee6e610e --- /dev/null +++ b/doc/forum/Can_I_have_different_favicons_for_each_folder__63__/comment_1_a01112ba235e2f44a7655c36ef680e7e._comment @@ -0,0 +1,19 @@ +[[!comment format=mdwn + username="http://smcv.pseudorandom.co.uk/" + nickname="smcv" + subject="comment 1" + date="2011-11-21T11:37:02Z" + content=""" +You could use [[plugins/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 [[plugins/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 +[[plugins/favicon]] plugin? + +Another way would be to have a new `localfavicon` plugin which overrides +the template variable from [[plugins/favicon]], using `last => 1` to +make sure it \"wins\". +"""]] |