Loop
You can use the "for" command to loop
define loop variables
{
"variable": "hello world",
"loop": [{"name": "content1", "is_show":true},{"name": "content2","is_show": false},{"name": "content3", "is_show": true}]
}use loop
<!--{for-loop}-->
# <!--{v-name}-->
<!--{if-is_show}-->
hello world
<!--{end}-->
<!--{end}-->
<!--{forn-6}-->
hello world
<!--{end}-->compiler results
Last updated