From 4c9a447d932cfff0de791e6b94f056f6ae885a9c Mon Sep 17 00:00:00 2001 From: SBD Date: Sun, 17 Dec 2023 07:05:06 +0300 Subject: [PATCH] 0.0.128 --- templates/blocks/{dynamic => }/b_sections_buttons.html | 0 templates/pages/content/c_section_content.html | 2 +- templates/pages/p_contacts.html | 1 + templates/pages/p_main.html | 2 +- преференсы.txt | 5 ++++- 5 files changed, 7 insertions(+), 3 deletions(-) rename templates/blocks/{dynamic => }/b_sections_buttons.html (100%) diff --git a/templates/blocks/dynamic/b_sections_buttons.html b/templates/blocks/b_sections_buttons.html similarity index 100% rename from templates/blocks/dynamic/b_sections_buttons.html rename to templates/blocks/b_sections_buttons.html diff --git a/templates/pages/content/c_section_content.html b/templates/pages/content/c_section_content.html index cad5d91..4c8608f 100644 --- a/templates/pages/content/c_section_content.html +++ b/templates/pages/content/c_section_content.html @@ -3,7 +3,7 @@ {% include 'blocks/b_slider.html' %} {% endif %} -{% include 'blocks/dynamic/b_sections_buttons.html' %} +{% include 'blocks/b_sections_buttons.html' %} {% if page.description or page.title or page.text %}
diff --git a/templates/pages/p_contacts.html b/templates/pages/p_contacts.html index 96d34c0..7c07005 100644 --- a/templates/pages/p_contacts.html +++ b/templates/pages/p_contacts.html @@ -2,6 +2,7 @@ {% load static %} {% load i18n %} {% block CONTENT %} + {% include "blocks/b_sections_buttons.html" %}
diff --git a/templates/pages/p_main.html b/templates/pages/p_main.html index c3ce6d4..6a0bc13 100644 --- a/templates/pages/p_main.html +++ b/templates/pages/p_main.html @@ -2,7 +2,7 @@ {% block CONTENT %} {# {% include 'blocks/b_slider.html' %}#} - {% include 'blocks/dynamic/b_sections_buttons.html' %} + {% include 'blocks/b_sections_buttons.html' %} {% endblock %} \ No newline at end of file diff --git a/преференсы.txt b/преференсы.txt index 878f4fa..c6748e8 100644 --- a/преференсы.txt +++ b/преференсы.txt @@ -3,4 +3,7 @@ aerbim для того чтобы поисковые боты видиле href мы сначала делаем стат. страницу из трёх блоков header footer начальный экран потом с помощью js запроса я отправляю параметры мобильности -и мне в ответ приходит контент страницы \ No newline at end of file +и мне в ответ приходит контент страницы + +при переходе из страницы в секцию или из секции в секцию меняеться верхний url после этого js +собирает текущюю секцию из верхнего урла и отправляет в бэк от - туда приходит ответ с html из нужной секции \ No newline at end of file