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