fix(webform): hide navbar/footer settings
This commit is contained in:
parent
9d280e4ada
commit
b6a6fa709c
1 changed files with 11 additions and 2 deletions
|
|
@ -4,8 +4,17 @@
|
|||
{% include "templates/includes/meta_block.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% if hide_navbar %}{% block navbar %}{% endblock %}{% endif %}
|
||||
{% if hide_footer %}{% block footer %}{% endblock %}{% endif %}
|
||||
{% block navbar %}
|
||||
{% if not hide_navbar %}
|
||||
{% include "templates/includes/navbar/navbar.html" %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block footer %}
|
||||
{% if not hide_footer %}
|
||||
{% include "templates/includes/footer/footer.html" %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block breadcrumbs %}{% endblock %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue