diff --git a/apps/course/templates/course/course.html b/apps/course/templates/course/course.html index f8eb58cd..ecb1b319 100644 --- a/apps/course/templates/course/course.html +++ b/apps/course/templates/course/course.html @@ -9,7 +9,7 @@ {% block ogtitle %}{{ course.title }} - {{ block.super }}{% endblock ogtitle %} {% block ogurl %}{{ request.build_absolute_uri }}{% endblock ogurl %} {% if course.cover and course.cover.image %} -{% block ogimage %}{{ course.cover.image.url }}{% endblock ogimage %} +{% block ogimage %}http://{{request.META.HTTP_HOST}}{{ course.cover.image.url }}{% endblock ogimage %} {% endif %} {% block ogdescription %}{{ course.short_description }}{% endblock ogdescription %} diff --git a/project/templates/blocks/share.html b/project/templates/blocks/share.html index 6c9abb2c..c895fe32 100644 --- a/project/templates/blocks/share.html +++ b/project/templates/blocks/share.html @@ -1,23 +1,24 @@ {% load static %} +
Поделиться {% if livelesson or lesson %}уроком{% else %}курсом{% endif %}
- - - -