From 3853c80f5ac764d2d616e459892faff3c6ccd5bc Mon Sep 17 00:00:00 2001 From: Casey Gollan Date: Wed, 4 Jan 2017 21:00:10 -0500 Subject: [PATCH] module updates --- byline.html | 2 +- report.html | 2 +- thumb.html | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/byline.html b/byline.html index a9dc102..5bcd644 100644 --- a/byline.html +++ b/byline.html @@ -1 +1 @@ -{% if item.author %}

By {{ item.author }}

{% endif %} +{% if item.author.first_name %}

By {{ item.author.first_name }} {{ item.author.last_name }}

{% elsif item.author %}

By {{ item.author }}

{% endif %} diff --git a/report.html b/report.html index 2b2ff98..926009d 100644 --- a/report.html +++ b/report.html @@ -5,7 +5,7 @@
{% include shared-includes/title.html %} {% include shared-includes/byline.html %} - {{ item.excerpt | strip_html }} + {{ item.excerpt | strip_html | truncatewords: 30 }}
diff --git a/thumb.html b/thumb.html index 47ebe62..3f46044 100644 --- a/thumb.html +++ b/thumb.html @@ -5,9 +5,11 @@ {{ item.image-caption }}