Python templates for web designers

python, templating

Solution

Look at Mako.

Here's how I cope with web designers.

- Ask them to mock up the page. In HTML.

- Use the HTML as the basis for the template, replacing the mocked-up content with `${...}` replacements.

- Fold in loops to handle repeats.

The use of if-statements requires negotiation, since the mock-up is one version of the page, and there are usually some explanations for conditional presentation of some material.

Problem

What are some good templating engines for web designers? I definitely have my preferences as to what I'd prefer to work with as a programmer. But web designers seem to have a different way of thinking about things and thus may prefer a different system. So: - Web designers: what templating engine do you prefer to work with? - programmers: what templating engines have you worked with that made working with web designers easy?

Original source