From 3f69c056570069e8f26267abbb5e1f459f18a110 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 30 Aug 2017 01:01:48 +0200 Subject: short description --- templates/entry.liquid | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/entry.liquid b/templates/entry.liquid index 0439ae0..ce6a040 100644 --- a/templates/entry.liquid +++ b/templates/entry.liquid @@ -87,7 +87,9 @@ SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS {% endfor %}
- {% if entry.body %} + {% if entry.shortDescription %} + {{ entry.shortDescription }} + {% elsif entry.body %} {{ entry.body | split: '. ' | first }}

{% endif %} -- cgit v1.2.3-70-g09d2