Hi folks,
I developed a Volt template and I intend to use it such as a standard for the others. There is an example of my code below:
{# LOCKED MODE #}
{% if session.get('locked_mode', true) is not empty and session.get('locked_mode', true) is true %}
{{ partial('locked_mode_view') }}
{# UNLOCKED MODE #}
{% else %}
<div class="row">
{{ partial('unlocked_mode_view') }}
{% block content %}
{{ partial('unlocked_mode_content') }}
{% endblock %}
</div>
{% endif %}
While it was compiling, the compiler shown this error:
Embedding blocks into other blocks is not supported in...
I didn't understand this error. What can I do in this situation?