X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/fdc3961121619b598c7782e857362fc4e6a14164..09f046d960613fb4022cd7f4ad5a66a9787bc32a:/migdal/templates/migdal/entry/entry_detail.html diff --git a/migdal/templates/migdal/entry/entry_detail.html b/migdal/templates/migdal/entry/entry_detail.html index 1f322be..ef842b8 100755 --- a/migdal/templates/migdal/entry/entry_detail.html +++ b/migdal/templates/migdal/entry/entry_detail.html @@ -1,6 +1,19 @@ {% extends "base.html" %} {% load comments i18n %} -{% load migdal_tags %} +{% load common_tags migdal_tags share %} + + +{% block "titleextra" %}{{ entry.title }} ::{% endblock %} +{% block "ogtitle" %}{{ entry.title }}{% endblock %} +{% block "ogtype" %}article{% endblock %} +{% block "ogdescription"%}{{ entry.lead|striptags|truncatewords:10 }}{% endblock %} +{% block "ogimage" %}{% spaceless %} +{% if entry.image %} + {{ entry.image.url|build_absolute_uri:request }} +{% else %} + {{ block.super }} +{% endif %} +{% endspaceless %}{% endblock %} {% block "main_menu" %} @@ -21,6 +34,15 @@
{{ entry.body }}
+ +
+ +
+
+ {% share object.get_absolute_url object.title %} +
+
+
{% if entry.get_type.commentable %}