From a9a0120ee654dfd5ba68d2538ee50313dc004f1d Mon Sep 17 00:00:00 2001 From: merdan Date: Mon, 10 May 2021 17:16:34 +0500 Subject: [PATCH] new theme modern2 --- themes/modern2/partials/index/top_section.htm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/themes/modern2/partials/index/top_section.htm b/themes/modern2/partials/index/top_section.htm index 40fe6dd78..afb62a837 100644 --- a/themes/modern2/partials/index/top_section.htm +++ b/themes/modern2/partials/index/top_section.htm @@ -22,15 +22,10 @@
- {% for post_item in category.posts_filtered.splice(0,3)%} + {% for post_item in category.posts_filtered.slice(0,2)%} {% partial 'index/post_item' post = post_item category = category %} {% endfor %}
-
- {% for post_item in category.posts_filtered %} - {% partial 'index/post_item' post = post_item category = category%} - {% endfor %} -