wiki:TemplateSearchAddition
Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Version 2 (modified by ivolooser, 13 years ago) (diff)

clean wiki source

You want to inherit from a generic toolkit that you are building for all your sites. You could copy the master template to each directory and copy it around every time you change it. The

Top of KID Template

<?python
import dirname.dirname.kidfile
?>

Change extends to:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" py:extends="dirname.dirname.kidfile">


The Kidfile does not have a .kid extension.

The directory that the template is in must have a __init__.py file. There does not need to be anything in this file.