Glasnost Help and Documentation
Developers
Templates
TAL in Glasnost
Additional TAL statements: reroot




Additional TAL statements: reroot
Absolute URLs in templates must be used with the tal:reroot statement:
<img tal:reroot="src" src="/images/glasnost.png" alt="Glasnost" />
There are two reasons for this :
- An absolute path refers the root of the domain, which may be different from the root of the virtual host.
- URLs may include a language code.