From 35ec5c5699199a7a8da0c5d97dff2a1f1b4de788 Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Mon, 30 Oct 2023 17:00:02 +0100 Subject: Include language tag in postlist (headings!) --- _layouts/postlist.html | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to '_layouts/postlist.html') diff --git a/_layouts/postlist.html b/_layouts/postlist.html index ad70c56..f555146 100644 --- a/_layouts/postlist.html +++ b/_layouts/postlist.html @@ -31,17 +31,19 @@ layout: default
  • {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%} {{ post.date | date: date_format }} -

    - - {{ post.title | escape }} - -

    - {%- 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 -%} +
    +

    + + {{ post.title | escape }} + +

    + {%- 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