You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
296 lines
12 KiB
296 lines
12 KiB
{% extends "base.html" %}
|
|
{% load cms_tags my_cms_tags %}
|
|
|
|
{% block content-main %}
|
|
<div class="category-text">
|
|
<div class="category-desc">
|
|
{% placeholder "category-desc" %}
|
|
</div>
|
|
|
|
{% if current_page|placeholder_plugins_count:"category-desc" > 0 %}
|
|
{# 1. Самый верхний баннер, который находится под блоком "Описание категории" #}
|
|
<div class="row5">
|
|
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
|
<!-- S1 -->
|
|
<ins class="adsbygoogle"
|
|
style="display:block"
|
|
data-ad-client="ca-pub-1611834627309058"
|
|
data-ad-slot="5630963119"
|
|
data-ad-format="auto"></ins>
|
|
<script>
|
|
(adsbygoogle = window.adsbygoogle || []).push({});
|
|
</script>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div>
|
|
<div class="article-contents">
|
|
{# Содержание #}
|
|
|
|
<div class="vertical-teasers">
|
|
{% placeholder "page-teasers" %}
|
|
</div>
|
|
|
|
{% placeholder "article-contents" %}
|
|
</div>
|
|
|
|
{% if current_page|placeholder_plugins_count:"article-contents" > 0 %}
|
|
{# 2. Второй баннер, который под блоком "Содержание" #}
|
|
<div class="row5">
|
|
<!-- Yandex.RTB R-A-143877-1 -->
|
|
<div id="yandex_rtb_R-A-143877-1"></div>
|
|
<script type="text/javascript">
|
|
(function(w, d, n, s, t) {
|
|
w[n] = w[n] || [];
|
|
w[n].push(function() {
|
|
Ya.Context.AdvManager.render({
|
|
blockId: "R-A-143877-1",
|
|
renderTo: "yandex_rtb_R-A-143877-1",
|
|
async: true
|
|
});
|
|
});
|
|
t = d.getElementsByTagName("script")[0];
|
|
s = d.createElement("script");
|
|
s.type = "text/javascript";
|
|
s.src = "//an.yandex.ru/system/context.js";
|
|
s.async = true;
|
|
t.parentNode.insertBefore(s, t);
|
|
})(this, this.document, "yandexContextAsyncCallbacks");
|
|
</script>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% placeholder "content-main" %}
|
|
|
|
{% if current_page|placeholder_plugins_count:"content-main" > 0 %}
|
|
{# 3. Баннер под блок "Контент 1" #}
|
|
<div class="row5">
|
|
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
|
<!-- S3 -->
|
|
<ins class="adsbygoogle"
|
|
style="display:block"
|
|
data-ad-client="ca-pub-1611834627309058"
|
|
data-ad-slot="1061162712"
|
|
data-ad-format="auto"></ins>
|
|
<script>
|
|
(adsbygoogle = window.adsbygoogle || []).push({});
|
|
</script>
|
|
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% placeholder "content-main2" %}
|
|
|
|
{% if current_page|placeholder_plugins_count:"content-main2" > 0 %}
|
|
{# 4. Баннер под блок "Контент 2" #}
|
|
<div class="row5">
|
|
<!-- Yandex.RTB R-A-143877-5 -->
|
|
<div id="yandex_rtb_R-A-143877-5"></div>
|
|
<script type="text/javascript">
|
|
(function(w, d, n, s, t) {
|
|
w[n] = w[n] || [];
|
|
w[n].push(function() {
|
|
Ya.Context.AdvManager.render({
|
|
blockId: "R-A-143877-5",
|
|
renderTo: "yandex_rtb_R-A-143877-5",
|
|
async: true
|
|
});
|
|
});
|
|
t = d.getElementsByTagName("script")[0];
|
|
s = d.createElement("script");
|
|
s.type = "text/javascript";
|
|
s.src = "//an.yandex.ru/system/context.js";
|
|
s.async = true;
|
|
t.parentNode.insertBefore(s, t);
|
|
})(this, this.document, "yandexContextAsyncCallbacks");
|
|
</script>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% placeholder "content-main3" %}
|
|
|
|
{% if current_page|placeholder_plugins_count:"content-main3" > 0 %}
|
|
{# 5. Баннер под блок "Контент 3" #}
|
|
<div class="row5">
|
|
<!-- Yandex.RTB R-A-143877-6 -->
|
|
<div id="yandex_rtb_R-A-143877-6"></div>
|
|
<script type="text/javascript">
|
|
(function(w, d, n, s, t) {
|
|
w[n] = w[n] || [];
|
|
w[n].push(function() {
|
|
Ya.Context.AdvManager.render({
|
|
blockId: "R-A-143877-6",
|
|
renderTo: "yandex_rtb_R-A-143877-6",
|
|
async: true
|
|
});
|
|
});
|
|
t = d.getElementsByTagName("script")[0];
|
|
s = d.createElement("script");
|
|
s.type = "text/javascript";
|
|
s.src = "//an.yandex.ru/system/context.js";
|
|
s.async = true;
|
|
t.parentNode.insertBefore(s, t);
|
|
})(this, this.document, "yandexContextAsyncCallbacks");
|
|
</script>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% placeholder "content-main4" %}
|
|
|
|
{% if current_page|placeholder_plugins_count:"content-main4" > 0 %}
|
|
{# 6. Баннер под блок "Контент 4" #}
|
|
<div class="row5">
|
|
<!-- Yandex.RTB R-A-143877-7 -->
|
|
<div id="yandex_rtb_R-A-143877-7"></div>
|
|
<script type="text/javascript">
|
|
(function(w, d, n, s, t) {
|
|
w[n] = w[n] || [];
|
|
w[n].push(function() {
|
|
Ya.Context.AdvManager.render({
|
|
blockId: "R-A-143877-7",
|
|
renderTo: "yandex_rtb_R-A-143877-7",
|
|
async: true
|
|
});
|
|
});
|
|
t = d.getElementsByTagName("script")[0];
|
|
s = d.createElement("script");
|
|
s.type = "text/javascript";
|
|
s.src = "//an.yandex.ru/system/context.js";
|
|
s.async = true;
|
|
t.parentNode.insertBefore(s, t);
|
|
})(this, this.document, "yandexContextAsyncCallbacks");
|
|
</script>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% placeholder "content-main5" %}
|
|
|
|
{% if current_page|placeholder_plugins_count:"content-main5" > 0 %}
|
|
{# 7. Баннер под блок "Контент 5" #}
|
|
<div class="row5">
|
|
<!-- Yandex.RTB R-A-143877-8 -->
|
|
<div id="yandex_rtb_R-A-143877-8"></div>
|
|
<script type="text/javascript">
|
|
(function(w, d, n, s, t) {
|
|
w[n] = w[n] || [];
|
|
w[n].push(function() {
|
|
Ya.Context.AdvManager.render({
|
|
blockId: "R-A-143877-8",
|
|
renderTo: "yandex_rtb_R-A-143877-8",
|
|
async: true
|
|
});
|
|
});
|
|
t = d.getElementsByTagName("script")[0];
|
|
s = d.createElement("script");
|
|
s.type = "text/javascript";
|
|
s.src = "//an.yandex.ru/system/context.js";
|
|
s.async = true;
|
|
t.parentNode.insertBefore(s, t);
|
|
})(this, this.document, "yandexContextAsyncCallbacks");
|
|
</script>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% placeholder "content-main6" %}
|
|
|
|
{% if current_page|placeholder_plugins_count:"content-main6" > 0 %}
|
|
{# 8. Баннер под блок "Контент 6" #}
|
|
<div class="row5">
|
|
<!-- Yandex.RTB R-A-143877-16 -->
|
|
<div id="yandex_rtb_R-A-143877-16"></div>
|
|
<script type="text/javascript">
|
|
(function(w, d, n, s, t) {
|
|
w[n] = w[n] || [];
|
|
w[n].push(function() {
|
|
Ya.Context.AdvManager.render({
|
|
blockId: "R-A-143877-16",
|
|
renderTo: "yandex_rtb_R-A-143877-16",
|
|
async: true
|
|
});
|
|
});
|
|
t = d.getElementsByTagName("script")[0];
|
|
s = d.createElement("script");
|
|
s.type = "text/javascript";
|
|
s.src = "//an.yandex.ru/system/context.js";
|
|
s.async = true;
|
|
t.parentNode.insertBefore(s, t);
|
|
})(this, this.document, "yandexContextAsyncCallbacks");
|
|
</script>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% placeholder "content-main7" %}
|
|
|
|
{% if current_page|placeholder_plugins_count:"content-main7" > 0 %}
|
|
{# 9. Баннер под блок "Контент 7" #}
|
|
<div class="row5">
|
|
<!-- Yandex.RTB R-A-143877-17 -->
|
|
<div id="yandex_rtb_R-A-143877-17"></div>
|
|
<script type="text/javascript">
|
|
(function(w, d, n, s, t) {
|
|
w[n] = w[n] || [];
|
|
w[n].push(function() {
|
|
Ya.Context.AdvManager.render({
|
|
blockId: "R-A-143877-17",
|
|
renderTo: "yandex_rtb_R-A-143877-17",
|
|
async: true
|
|
});
|
|
});
|
|
t = d.getElementsByTagName("script")[0];
|
|
s = d.createElement("script");
|
|
s.type = "text/javascript";
|
|
s.src = "//an.yandex.ru/system/context.js";
|
|
s.async = true;
|
|
t.parentNode.insertBefore(s, t);
|
|
})(this, this.document, "yandexContextAsyncCallbacks");
|
|
</script>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
{% placeholder "page-teasers2" %}
|
|
{% endblock %}
|
|
|
|
{% block pre_footer %}
|
|
{% if current_page|placeholder_plugins_count:"content-main6" > 0 and current_page|placeholder_plugins_count:"content-main7" > 0 %}
|
|
{# skip #}
|
|
{% else %}
|
|
{# 10. баннер в подвале #}
|
|
<div class="pre-footer">
|
|
<!-- Yandex.RTB R-A-143877-19 -->
|
|
<div id="yandex_rtb_R-A-143877-19"></div>
|
|
<script type="text/javascript">
|
|
(function(w, d, n, s, t) {
|
|
w[n] = w[n] || [];
|
|
w[n].push(function() {
|
|
Ya.Context.AdvManager.render({
|
|
blockId: "R-A-143877-19",
|
|
renderTo: "yandex_rtb_R-A-143877-19",
|
|
horizontalAlign: true,
|
|
async: true
|
|
});
|
|
});
|
|
t = d.getElementsByTagName("script")[0];
|
|
s = d.createElement("script");
|
|
s.type = "text/javascript";
|
|
s.src = "//an.yandex.ru/system/context.js";
|
|
s.async = true;
|
|
t.parentNode.insertBefore(s, t);
|
|
})(this, this.document, "yandexContextAsyncCallbacks");
|
|
</script>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content-left %} {# вывести контент из левой колонки родителя #}
|
|
{% show_uncached_placeholder "content-left" request.current_page.parent_id %}
|
|
{% endblock %}
|
|
|
|
{% block colmask-wrapper-add-class %}leftmenu{% endblock %} {# ВАЖНЫЙ КЛАСС! #}
|
|
|
|
{% block colmid-div-start %}{% endblock %}
|
|
|
|
{% block colmid-div-end %}{% endblock %}
|
|
|
|
{% block col3-right %}{% endblock %}
|
|
|