lesana.templating module

Custom jinja2 filters and other templating helpers

class lesana.templating.Environment(*args, **kwargs)[source]

Bases: jinja2.environment.Environment

A customized jinja2 environment that includes our filters.

lesana.templating.to_yaml(data)[source]

Return the yaml representation of data.