【发布时间】:2021-03-24 20:29:13
【问题描述】:
不知道如何向模板添加循环。 有人可以举个例子来说明如何在模板中使用 for 循环的语法吗?
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>This page was generated from a template</title>
</head>
<body>
{{loop}}
<h6>{{content_from_data_structure}}</h6>
{{end_loop}}
</body>
</html>
【问题讨论】: