summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-08-30 01:01:48 +0200
committerJules Laplace <julescarbon@gmail.com>2017-08-30 01:01:48 +0200
commit3f69c056570069e8f26267abbb5e1f459f18a110 (patch)
tree7cbc5731af2a2578e97ffaed7b78967f37d564e1 /templates
parentee4359ce7626129f7fd6ac64189ca55aa9f5f66b (diff)
short description
Diffstat (limited to 'templates')
-rw-r--r--templates/entry.liquid4
1 files changed, 3 insertions, 1 deletions
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 %}
</div>
<div class="content">
- {% if entry.body %}
+ {% if entry.shortDescription %}
+ {{ entry.shortDescription }}
+ {% elsif entry.body %}
{{ entry.body | split: '. ' | first }}
<br><br>
{% endif %}