This commit is contained in:
2025-06-16 20:18:05 -07:00
parent a9f7837b6e
commit 4cf5ed2aa8
3 changed files with 6 additions and 224 deletions

View File

@@ -1,45 +1,8 @@
<p>just_render: $just_render_the_damn_list{}</p>
$map{$do_unpack{}}
$(do_other())[[what $rank, ]]
<ul>$({"ho", "he"})[[<li>$it</li>]]</ul>
$({{"one", "hossssssss"}, {"two", "hesssssssssssssss"}})[[$1 and $2]]
$({{rank = "ok"}})[[what $rank, ]]
$do_cards[[this $rank, ]]
<hr />
$map{{'one', 'Spades', 3}, {'two', 'Hearts', 4}}[[$1 and $2 or $3]]
<hr />
$one{some_var = "paris"}
$two{limit = "here"}[[the limit is $limit]]
$three{$some_list}[[say $say]]
$map{$four{limit = 2}}
<hr />
$list3{ limit = 2 }[[
<section><h3>$title</h3></section>
]]
<hr />
$each{list3{ limit = 2 }, "post"}[[$post]]
$render{"templates/wares"}
<h2>Posts</h2>
$each{list_posts({limit = 5}), "post"}[[$post]]
$just_render_the_damn_list{limit = 5}
<h4 style="text-align: center;">
<a href="$root/posts">View more posts</a>