summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_layouts/home.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/_layouts/home.html b/_layouts/home.html
index f06c5f6..9255f73 100644
--- a/_layouts/home.html
+++ b/_layouts/home.html
@@ -20,6 +20,7 @@ layout: default
{% endif %}
{%- for post in paginator.posts -%}
+
<li>
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<span class="post-meta">{{ post.date | date: date_format }}</span>
@@ -30,6 +31,9 @@ layout: default
</h3>
{%- if site.show_excerpts -%}
{{ post.excerpt }}
+ {# parens are invalid, right-to-left eval #}
+ {%- elsif forloop.first and paginator.page == 1 or paginator == site -%}
+ {{ post.content }}
{%- endif -%}
</li>
{%- endfor -%}