2 ms·
You haven't specified a language preference so I'll give you my preferred choice: Mako templates for Python. It feels similar to PHP but with more features such
by cpburns2009 9y ago
You haven't specified a language preference so I'll give you my preferred choice: Mako templates for Python. It feels similar to PHP but with more features such as:
- Inline expressions with filter functions. Mako uses ${expression | filter}
- Reusable template blocks which can be called like functions. Mako uses <%def> and <%block>.
- Supports full Python expressions instead of a limited subset like Jinja.