Esempio n. 1
0
def template(path, base='templates', **kwargs):
    """Generate the content of the template"""
    return _template(join(base_dir, join(base, path)), kwargs)
Esempio n. 2
0
def template(tpl, callback=template_urlfor, **kargs):
    return _template(callback(tpl), **kargs)