0.0.27 restructurize content templates

This commit is contained in:
SDE
2023-11-28 20:15:51 +03:00
parent a798339077
commit 4c7dadd08d
5 changed files with 45 additions and 34 deletions

View File

@@ -0,0 +1,32 @@
{% include 'blocks/dynamic/b_sections_buttons.html' %}
{% if page.description %}
<div>{{ page.description }}</div>
{% endif %}
{% if page.title %}
<div>{{ page.title }}</div>
{% endif %}
{% if services_view_scheme == '3_cols_w_group' %}
{% include 'blocks/b_service.html' %}
{% elif services_view_scheme == '2_cols_wo_group' %}
{% include 'blocks/b_service_2_col.html' %}
{% endif %}
{% include "pages/content/c_blocks_constructor.html" %}
{#{% for block in page.blocks.all %}#}
{# {% if block.block_type == 'photo150_n_title' %}#}
{# {% include 'blocks/b_photo150_n_title.html' %}#}
{# {% elif block.block_type == 'how_work' %}#}
{# {% include 'blocks/b_how_with_us_working.html' %}#}
{# {% elif block.block_type == 'feedback_form' %}#}
{# {% include 'forms/f_consultation.html' %}#}
{# {% elif block.block_type == 'how_dev' %}#}
{# {% include 'blocks/b_how_dev.html' %}#}
{# {% endif %}#}
{##}
{#{% endfor %}#}
{#{% if page.plugin_presentation.all %}#}
{# {% include 'blocks/b_3d_s_d.html' with block=page.plugin_presentation.all.0 %}#}
{#{% endif %}#}