0.0.27 restructurize content templates
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
{% include 'blocks/dynamic/b_sections_buttons.html' %}
|
||||
{% 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 'blocks/dynamic/b_sections_buttons.html' %}#}
|
||||
{#{% 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 'blocks/b_how_with_us_working.html' %}#}
|
||||
{% for block in cur_section.blocks.all %}
|
||||
{% 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' %}
|
||||
@@ -22,6 +22,6 @@
|
||||
|
||||
|
||||
{% endfor %}
|
||||
{% if cur_section.plugin_presentation.all %}
|
||||
{% include 'blocks/b_3d_s_d.html' with block=cur_section.plugin_presentation.all.0 %}
|
||||
{% if page.plugin_presentation.all %}
|
||||
{% include 'blocks/b_3d_s_d.html' with block=page.plugin_presentation.all.0 %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user