-
{{ author.get_full_name }},
+
- {% if author.instagram %}
-
{{ author.instagram }}
- {% endif %} {% if author.about %}
+ {% if teacher.instagram %}
+
{{ teacher.instagram }}
+ {% endif %} {% if teacher.about %}
- {{ author.about }}
+ {{ teacher.about }}
{% endif %}
diff --git a/project/templates/lilcity/main.html b/project/templates/lilcity/main.html
index fc4da5fd..8f4d4b38 100644
--- a/project/templates/lilcity/main.html
+++ b/project/templates/lilcity/main.html
@@ -8,6 +8,8 @@
{% include "templates/blocks/advantages.html" %}
{% include "templates/blocks/arts.html" %}
{% include "templates/blocks/last_courses.html" %}
+ {% include "templates/blocks/gallery.html" %}
{% include "templates/blocks/game.html" %}
+ {% include "templates/blocks/teachers.html" %}
{% include "templates/blocks/partners.html" %}
{% endblock content %}
diff --git a/project/views.py b/project/views.py
index 1b1b01f0..9998a27a 100644
--- a/project/views.py
+++ b/project/views.py
@@ -35,7 +35,7 @@ class IndexView(TemplateView):
'course_items': Course.objects.filter(status=Course.PUBLISHED)[:6],
'school_schedules': SchoolSchedule.objects.all(),
'min_school_price': SchoolSchedule.objects.all().aggregate(Min('month_price'))['month_price__min'],
- 'authors': User.objects.filter(role=User.AUTHOR_ROLE, show_in_mainpage=True),
+ 'teachers': User.objects.filter(role=User.TEACHER_ROLE, show_in_mainpage=True),
})
return context