From 39660cd1bbd07e8cfd49e2c80de48fa35d2a1304 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 10 Jun 2018 14:06:27 +0000 Subject: [PATCH] check for image_url not image --- content/templates/content.html | 2 +- content/templates/featured.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/templates/content.html b/content/templates/content.html index a7162f8..ba16db9 100644 --- a/content/templates/content.html +++ b/content/templates/content.html @@ -3,7 +3,7 @@ {% block content %} {% include "edit.html" %}
- {% if content.image %} + {% if content.image_url %} {% endif %}
diff --git a/content/templates/featured.html b/content/templates/featured.html index a9b1ab4..465bff0 100644 --- a/content/templates/featured.html +++ b/content/templates/featured.html @@ -1,6 +1,6 @@ {% for content in featured %}
- {% if content.image %} + {% if content.image_url %} {% endif %}