Specify repeated multiple output strings

How to repeat a string a specified number of times in Anqi CMS template?

repeatThe filter can repeat a string a specified number of times.

Usage Instructions

repeatHow to use the filter:

{{obj|repeat:次数}}

For example, to repeat安企CMS5 times, it can be written like this:

{{"安企CMS"|repeat:5}}
# 显示结果
安企CMS安企CMS安企CMS安企CMS安企CMS

Here is an example demonstration

{{"安企CMS"|repeat:5}}
# 显示结果
安企CMS安企CMS安企CMS安企CMS安企CMS