diff options
author | uvok cheetah | 2020-01-05 16:32:30 +0100 |
---|---|---|
committer | uvok cheetah | 2020-01-05 16:32:30 +0100 |
commit | 1e34d4bbebc26077f5d1d090ae2c5cf88e22a332 (patch) | |
tree | 59e536f38408519472920820012bdd3372ed581d /_layouts | |
parent | b1fa37719564f30c58c163121b8c3c425823949b (diff) |
Restore display-first-blogpost behavior
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/home.html | 4 |
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 -%} |