This commit is contained in:
Catalin Constantin Mititiuc 2025-05-22 16:22:55 -07:00
parent f69a01f0bf
commit 9b5de2eafd
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
$list3{ limit = 2 }[[<section><h3>$title</h3></section>]]
<hr />
$list3{ limit = 2 }
$each{list3{ limit = 2 }, "post"}[[$post]]
$render{"templates/wares"}

View File

@ -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{[[<p>$title</p>]], limit = 2}