From 9b5de2eafd2838d06daed7a8afdddea2975b44a4 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Thu, 22 May 2025 16:22:55 -0700 Subject: [PATCH] ! --- index.html | 2 +- site.moon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 8e514e2..e5f61f7 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ $list3{ limit = 2 }[[

$title

]]
-$list3{ limit = 2 } +$each{list3{ limit = 2 }, "post"}[[$post]] $render{"templates/wares"} diff --git a/site.moon b/site.moon index 128f81a..775ad4b 100644 --- a/site.moon +++ b/site.moon @@ -143,7 +143,7 @@ list3 = (args={}, has_block) => else common.fill_ignoring_pre template, vals - unless has_block then return table.concat result + unless has_block then return result -- use in templates -- $list2{[[

$title

]], limit = 2}