bloodhound-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saint Germain <saint...@gmail.com>
Subject Use customized configuration variable in templates
Date Mon, 16 Jun 2014 00:39:20 GMT
Hello,

I would like to insert a link to another website in the default
Bloodhound templates.

However it would be best to have this website url defined in the
base.ini/trac.ini/site.ini files instead of hard coding it directly in
the templates.

What would be the recommended way to achieve this ?

Ideally I would like add a key 'another_site_url' to the [project] and
then use ${project.another_site_url} in the templates.
It seems to work by modifying directly populate_data in chrome.py but
perhaps there is more elegant/simple way to do that ?

Thanks in advance,

Mime
View raw message