twig中使用continue和break

Break {% set break = false %} {% for post in posts if not break %} {{ post.heading }} {% if post.id ...
阅读全文