Hi,

The default sitetemplate is currently in turbogears/view.py and is
empty. Sometime soon, the default sitetemplate will likely live in a
file and automatically include tg_css and tg_js_*.

tg_css and tg_js_* are "ordered sets". So, the CSS and JavaScript
appear in the order in which they are requested, but will only appear
once. This happens in _process_output in turbogears/controllers.py.

Hope this helps!

Kevin

On 11/28/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm working with TG 0.9 out of subversion.
>
> One of the things I've noticed (I migrated from 0.84a) is that
> master.kid extends from sitetemplate.
>
> <?python import sitetemplate ?>
> <html xmlns="http://www.w3.org/1999/xhtml";
> xmlns:py="http://purl.org/kid/ns#"; py:extends="sitetemplate">
>
> Where is sitetemplate defined?  I know that the configuration file has
> an option for specifying the sitetemplate, but the `quickstart' default
> of this option is commented out.
>
> Next, are tg_css and tg_js_head lists or dictionaries that are
> magically defined by turbogears?  I'd assume yes because of the tg_
> prefix.  But I wasn't able to find anything relevant about these in
> this group.

Reply via email to