robfig/revel — pull request #271 by MZAWeb (2013-08-13 03:45:25+00:00)
Title: Add {{repeat .content .times}} template tag

Adds a _repeat_ template tag that will repeat a given unescaped content a given
number of times. Works like {{pad}} but with a dynamic content.

Use case:

Let's assume you need to show a tree structure, you may want to do something like this:

`{{repeat "" .Depth}}`