pkglts.templating module
Set of functions to extend jinja2.
- class pkglts.templating.Template[source]
Bases:
object
Simple container that holds a list of blocks
The may objective is to represent a full templated file
- add(block)[source]
Insert a new block in the overall template
Notes: will use block loc to position it.
- Parameters:
block (TplBlock) – block with all fields filled
- Returns:
None
- class pkglts.templating.TplBlock[source]
Bases:
object
Simple container for template blocks.