Latest Version: 0.9.6.2

MyghtyTemplatePlugin

Myghty Template Plugin

This Myghty Template Plugin varies from the official BuffetMyghty in that it will properly populate all the default Myghty variables needed and render fragments.


Attributes

a extension

'myt'

Methods

f __init__(self, extra_vars_func=None, options=None) ...

Initialize Myghty template engine

f load_template(self, template_path) ...

Unused method for TG plug-in API compatibility

f render(self, info, format='html', fragment=False, template=None, output_encoding=None, encoding_errors=None, disable_unicode=None) ...

Render the template indicated with info as the namespace and globals from the info['_global_args'] key.

See the source for more information.

Top