summaryrefslogtreecommitdiff
path: root/app/jrnl
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-02-28 15:51:14 -0600
committerluxagraf <sng@luxagraf.net>2019-02-28 15:51:14 -0600
commitbbd9cdd6cd1289de10666bdac9d1b636dec7fe7f (patch)
treeb7d48b29bb19059ef4f402983e28cc8adbf1badd /app/jrnl
parent92aa5dab7435f83dd08f2d3c21462dc55e7a9b50 (diff)
added rich text snippets to page
Diffstat (limited to 'app/jrnl')
-rw-r--r--app/jrnl/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/jrnl/models.py b/app/jrnl/models.py
index ef25a40..beb0723 100644
--- a/app/jrnl/models.py
+++ b/app/jrnl/models.py
@@ -113,7 +113,7 @@ class Entry(models.Model):
def get_featured_image(self):
if self.featured_image:
- return self.featured_image.image.url
+ return "%s%s" % (settings.IMAGES_URL, self.featured_image.image.url[14:])
else:
return self.image.url