+
{{ object.title }} ({{ object.date_from|date:"d.m.Y" }} - {{ object.date_to|date:"d.m.Y" }})
+
+
+ {% if object.description %}
+
+
+ {{ object.description|safe }}
+
+
+ {% endif %}
+
+ {% if object.image %}
+

+ {% endif %}
+
+
+
+
+
+ {% include "blocks/_friends.html" %}
+
+
+
+
+ {% regroup items by section as groups %}
+ {% for data in groups %}
+
+
{{ data.grouper.title }}
+ {% for item in data.list%}
+
+ {% with item=item %}
+ {% include "blocks/_item.html" %}
+ {% endwith %}
+
+ {% endfor %}
+
+ {% endfor %}
+
+ {% with object.pk|lower as id %}
+ {% include "blocks/_disqus.html" with identifier='issue_'|add:id %}
+ {% endwith %}
+
+
+
+
+{% endblock %}
diff --git a/digest/templates/issues_list.html b/digest/templates/issues_list.html
new file mode 100644
index 00000000..38d308f0
--- /dev/null
+++ b/digest/templates/issues_list.html
@@ -0,0 +1,39 @@
+{% extends "base.html" %}
+{% load thumbnail %}
+
+{% block content %}
+
+ {% if issue %}
+ {% with object=issue %}
+
Текущий выпуск: {{ object.title }} ({{ object.date_from|date:"d.m.Y" }} - {{ object.date_to|date:"d.m.Y" }})
+
+ {% if object.description %}
+
+
+ {{ object.description|safe }}
+
+
+ {% endif %}
+ {% if object.image %}
+
+

+
+ {% endif %}
+
+ {% endwith %}
+ {% endif %}
+
+
+
+
+ {% include "blocks/_friends.html" %}
+
+
+
+
+ {% regroup items by section as groups %}
+ {% for data in groups %}
+
+
{{ data.grouper.title }}
+ {% for item in data.list%}
+
+ {% with item=item %}
+ {% include "blocks/_item.html" %}
+ {% endwith %}
+
+ {% endfor %}
+
+ {% endfor %}
+
+
+
+
+
+
+
+ {% with issue.pk|lower as id %}
+ {% include "blocks/_disqus.html" with identifier='issue_'|add:id %}
+ {% endwith %}
+
+
+
+
+{% endblock %}
diff --git a/templates/pages/adv.html b/templates/pages/adv.html
new file mode 100644
index 00000000..437d6588
--- /dev/null
+++ b/templates/pages/adv.html
@@ -0,0 +1,53 @@
+{% extends 'base.html' %}
+{% load static %}
+{% block page_title %}Наши друзья{% endblock %}
+
+
+{% block content %}
+
+
+
+
+
+
+ Добрый день.
+ Рассмотрели вашу на ссылку. По ней нашли платный курс.
+
+ Для платных курсов у нас есть несколько вариантов размещения:
+
+ Вариант 1:
+
+ - Размещение ссылки в блоке "Учебные материалы" - 1000р.
+
+ Такая ссылка будет опубликована на сайте, попадет в недельный дайджест,
+ а также появится в Telegram канале http://telegram.me/py_digest (245
+ читателей) и Twitter https://twitter.com/pydigest (663 читателей) и у
+ пользователей, которые читают контент через RSS
+
+ Вариант 2:
+
+ Размещение ссылки на сайте вне дайджеста:
+
+ - Сразу после анонса выпуска на сайте - 1000 руб
+ - После всего дайджеста - 500 руб (перед блоком с комментариями)
+ - В правой колонке - 700 руб
+
+
+ Вариант 3:
+
+ Упоминание курса в анонсе, который публикуется в соц. сетях - 2000 руб.
+ Анонс публикуется в большом количестве групп в соц. сетях
+
+
+
+
+
+
+
+{% endblock %}
diff --git a/templates/subnav_base.html b/templates/subnav_base.html
new file mode 100644
index 00000000..e17d445b
--- /dev/null
+++ b/templates/subnav_base.html
@@ -0,0 +1,21 @@
+{% extends "base.html" %}
+
+{% load i18n %}
+
+{% block body_base %}
+
+
+ {% include "blocks/_messages.html" %}
+
+
+ {% block subnav %}
+ {% endblock %}
+
+
+ {% block body %}
+ {% endblock %}
+
+
+
+
+{% endblock %}