From 1e34d4bbebc26077f5d1d090ae2c5cf88e22a332 Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Sun, 5 Jan 2020 16:32:30 +0100 Subject: Restore display-first-blogpost behavior --- _layouts/home.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to '_layouts/home.html') 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 -%} +
  • {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%} {{ post.date | date: date_format }} @@ -30,6 +31,9 @@ layout: default {%- 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 -%}
  • {%- endfor -%} -- cgit v1.2.3