I think custom favicon is broken, or at least I can't figure out what I'm doing wrong... I've fixed it on my github, by changing base.html as follows:
{% if settings.SITE_FAVICON %}
<link rel="shortcut icon" href="{{ settings.SITE_FAVICON|media }}" />
{% else %}
<link rel="shortcut icon" href="{{ '/m/default/media/images/favicon.gif'|media }}" />
{% endif %}
I also changed the default for settings.SITE_FAVICON to reflect what was in this file originally (/m/default/media/images/favicon.gif). I think /images/favicon.gif does not exist. If it works as I think it should, there is really no need for the if/else in the above code; simply:
<link rel="shortcut icon" href="{{ settings.SITE_FAVICON|media }}" />
should capture the default if set correctly. I can't test this, though, since there seems to be no way to reset the defaults... guess I could hack the database...
Yes. It isn't working for me either. @Evgeny, please fix. Thanks
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2011-07-26 23:33:39 -0500
Seen: 42 times
Last updated: Jul 27 '11
502 Bad Gateway when trying to change icon
How to perform Template() on askbot setting?
Why askbot template base.html has become the default base template?
Where in the Askbot code would I find the text asking you to give a descriptive answer?
sharing templates between askbot and our own django app
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.