UI Layout: New jinja block for adding custom classes to the body.
Usage: {% block bodyclasses %}custom-class-name{% endblock %}
This commit is contained in:
parent
9cf3a7147e
commit
42215d2b02
@ -56,7 +56,7 @@ html(lang="en")
|
||||
| {% endblock css %}
|
||||
|
||||
| {% if not title %}{% set title="default" %}{% endif %}
|
||||
body(class="{{ title }} {{'project' if project and project.url != 'blender-cloud'}}"
|
||||
body(class="{{ title }} {{'project' if project and project.url != 'blender-cloud'}} {% block bodyclasses %}{% endblock %}"
|
||||
"{% block bodyattrs %}{% endblock %}"
|
||||
)
|
||||
| {% with messages = get_flashed_messages(with_categories=True) %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user