Use pypugjs for rendering #51156
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently we implement templates using pug and then use a gulp task to generate the HTML. By starting to use pypugjs :
This is a test run using index.html, extending layout.html (most of the current Blender Cloud pages have this level of complexity).
PUG
HTML
There seems to be no performance issue. The task would consist of:
/src
to/templates
Changed status to: 'Open'
Added subscriber: @fsiddi
Added subscriber: @pablovazquez
Changed status from 'Open' to: 'Archived'
After some testing, this proved to be a failure. The lack of support for block elements inside of tags, combined with the lack of documentation and active support do not make this library suitable for Pillar.