diff --git a/apps/school/templates/school/livelesson_detail.html b/apps/school/templates/school/livelesson_detail.html index d3e5c5af..21387415 100644 --- a/apps/school/templates/school/livelesson_detail.html +++ b/apps/school/templates/school/livelesson_detail.html @@ -5,9 +5,9 @@ {% block twurl %}{{ request.build_absolute_uri }}{% endblock twurl %} {% block ogtitle %}{{ livelesson.title }} - {{ block.super }}{% endblock ogtitle %} {% block ogurl %}{{ request.build_absolute_uri }}{% endblock ogurl %} -{% if livelesson.cover and livelesson.cover.image %} -{% block ogimage %}http://{{request.META.HTTP_HOST}}{{ livelesson.cover.image.url }}{% endblock ogimage %} -{% endif %} +{% block ogimage %} + {% if livelesson.cover and livelesson.cover.image %}http://{{request.META.HTTP_HOST}}{{ livelesson.cover.image.url }}{% else %}{{ block.super }}{% endif %} +{% endblock ogimage %} {% block content %}
diff --git a/project/templates/lilcity/index.html b/project/templates/lilcity/index.html index 70189e29..295d9d60 100644 --- a/project/templates/lilcity/index.html +++ b/project/templates/lilcity/index.html @@ -18,9 +18,9 @@ {% comment %} {% endcomment %} - - - + + +