If a page needs to run javascript on load, it is easy to do so by attaching
onload handlers or by using corresponing jQuery utilities. There is no need
to mess with templating.
Compiled templates are an unnecessary pain in maintance and
packaging. If each module is to bring its own templates, compiling
them in the build process becomes unnecessarily more complex. The
current state of template mess can somewhat be attributed to this.
Cheetah only partially supports dynamic templates. It does not support
inheritence of dynamic templates. From its documentation: "There is no
support for extending from a class that is not imported; e.g., from a
template dynamically created from a string. Since the most practical
way to get a parent template into a module is to precompile it, all
parent templates essentially have to be precompiled."
Previously, the cfg.base_href variable was never set (it's not even in
the sample.config file!). Now, Plinth uses the specified root
directory (from the *--server_dir* argument) in each URL reference.