From bbd1523c2b4456ec25f98c5b3a7550ad8df1113d Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Mon, 30 Oct 2023 17:02:03 +0100 Subject: Make news an include --- _layouts/postlist.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to '_layouts') diff --git a/_layouts/postlist.html b/_layouts/postlist.html index f555146..f50748e 100644 --- a/_layouts/postlist.html +++ b/_layouts/postlist.html @@ -3,12 +3,7 @@ layout: default ---
- {% for item in site.data.news %} -
- - {{ item.content }} -
- {% endfor %} + {% include news.html %} {%- if page.title -%}

{{ page.title }}

-- cgit v1.2.3