diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/entry.liquid | 4 |
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 %} |
