diff --git a/templates/pinax/blog/blog_list.html b/templates/pinax/blog/blog_list.html index 05fd165..8c7df76 100644 --- a/templates/pinax/blog/blog_list.html +++ b/templates/pinax/blog/blog_list.html @@ -8,9 +8,9 @@ {% for news in object_list %}
- {% if news.image_set.primary_image %} + {% if news.post.preview_image %}
-
{{ news.title }}
+
{{ news.title }}
{% endif %}
diff --git a/templates/pinax/blog/blog_post.html b/templates/pinax/blog/blog_post.html index 2dcd5b3..f6505f8 100644 --- a/templates/pinax/blog/blog_post.html +++ b/templates/pinax/blog/blog_post.html @@ -6,9 +6,9 @@
- {% if object.image_set.primary_image %} + {% if object.post.preview_image %}
-
{{ object.title }}
{% endif %}