summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_layouts/postlist.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/_layouts/postlist.html b/_layouts/postlist.html
index 7ce3cbb..9e679a7 100644
--- a/_layouts/postlist.html
+++ b/_layouts/postlist.html
@@ -32,13 +32,12 @@ layout: default
{{ post.title | escape }}
</a>
</h3>
- {%- if site.show_excerpts -%}
- {{ post.excerpt }}
- {%- assign showsep = true -%}
- {# parens are invalid, right-to-left eval #}
- {%- elsif forloop.first and paginator.page == 1 or paginator == site -%}
+ {%- if forloop.first and paginator.page == 1 or paginator == site -%}
{{ post.content }}
{%- assign showsep = true -%}
+ {%- elsif site.show_excerpts -%}
+ {{ post.excerpt }}
+ {%- assign showsep = true -%}
{%- endif -%}
</div>
</li>