class StaticTemplate(Template):
Static template: no rendering, will be copied as is to build directory.
For CSS and JS templates.
Method | __init__ |
Undocumented |
Method | write |
Directly write the contents of this static template as is to the build dir. |
Instance Variable | data |
Contents of the template file as bytes . |
Inherited from Template
:
Class Method | fromdir |
Scan a directory for templates. |
Class Method | fromfile |
Create a concrete template object. Type depends on the file extension. |
Instance Variable | name |
Template filename, may include subdirectories. |