Migrate Jade to Pug template engine
Jade templates engine has been renamed to Pug. We are using Pug already on the Blender Cloud repository, following is Flamenco and Attract
This commit is contained in:
17
src/templates/nodes/edit.pug
Normal file
17
src/templates/nodes/edit.pug
Normal file
@@ -0,0 +1,17 @@
|
||||
| {% extends 'projects/view.html' %}
|
||||
|
||||
| {% block body %}
|
||||
#project-container.container
|
||||
div.page-content
|
||||
| {% include 'nodes/edit_embed.html' %}
|
||||
| {% endblock body %}
|
||||
|
||||
| {% block footer_scripts %}
|
||||
| {{ super() }}
|
||||
script.
|
||||
$(function () {
|
||||
updateUi('', 'edit');
|
||||
});
|
||||
|
||||
| {% endblock footer_scripts %}
|
||||
|
Reference in New Issue
Block a user