From 0f5fb20c28a53685867818f07b8ce1b59e594ffd Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 5 Jun 2018 17:52:35 -0500 Subject: fixed some bugs on live server --- design/templates/archives/jrnl.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'design/templates/archives') diff --git a/design/templates/archives/jrnl.html b/design/templates/archives/jrnl.html index 08c1584..0c0c535 100644 --- a/design/templates/archives/jrnl.html +++ b/design/templates/archives/jrnl.html @@ -19,8 +19,9 @@
{% if object.featured_image %} - {{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}{%else%} - {{ object.title }}{%endif%} + {{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%} +{%else%} + {{ object.title }}{%endif%}

{{object.title|safe|smartypants|widont}}

-- cgit v1.2.3-70-g09d2 From ec7b92046153498b54623f815576a8412631776f Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 5 Jun 2018 18:11:13 -0500 Subject: changed homepage to use new featured_image --- design/templates/archives/homepage-light.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'design/templates/archives') diff --git a/design/templates/archives/homepage-light.html b/design/templates/archives/homepage-light.html index 4d24901..36e15b7 100644 --- a/design/templates/archives/homepage-light.html +++ b/design/templates/archives/homepage-light.html @@ -57,7 +57,8 @@ srcset="{% for size in image.sizes.all%}{% get_image_by_size image size.name %} {% for object in recent %}