diff --git a/djangocms_blog/templates/djangocms_blog/includes/blog_item.html b/djangocms_blog/templates/djangocms_blog/includes/blog_item.html index 3a44085..71605a2 100644 --- a/djangocms_blog/templates/djangocms_blog/includes/blog_item.html +++ b/djangocms_blog/templates/djangocms_blog/includes/blog_item.html @@ -5,30 +5,7 @@

{{ post.title }}

{% block blog_meta %} - - + {% include "djangocms_blog/includes/blog_meta.html" %} {% endblock %}
{% if image and post.main_image %} diff --git a/djangocms_blog/templates/djangocms_blog/includes/blog_meta.html b/djangocms_blog/templates/djangocms_blog/includes/blog_meta.html new file mode 100644 index 0000000..8be90e3 --- /dev/null +++ b/djangocms_blog/templates/djangocms_blog/includes/blog_meta.html @@ -0,0 +1,27 @@ +{% load i18n thumbnail cms_tags %} +{% load url from future %} + + + \ No newline at end of file diff --git a/djangocms_blog/templates/djangocms_blog/post_detail.html b/djangocms_blog/templates/djangocms_blog/post_detail.html index f619391..affa872 100644 --- a/djangocms_blog/templates/djangocms_blog/post_detail.html +++ b/djangocms_blog/templates/djangocms_blog/post_detail.html @@ -12,28 +12,7 @@

{% render_model post "title" %}

{% block blog_meta %} - - + {% include "djangocms_blog/includes/blog_meta.html" %} {% endblock %}
{% if post.main_image_id %}