hugo

Fork of github.com/gohugoio/hugo with reverse pagination support

git clone git://git.shimmy1996.com/hugo.git

strings.Repeat.md (430B)

    1 ---
    2 title: strings.Repeat
    3 # linktitle:
    4 description: Returns INPUT repeated COUNT times.
    5 date: 2018-05-31
    6 publishdate: 2018-05-31
    7 lastmod: 2018-05-31
    8 categories: [functions]
    9 menu:
   10   docs:
   11     parent: "functions"
   12 keywords: [strings]
   13 signature: ["strings.Repeat COUNT INPUT"]
   14 workson: []
   15 hugoversion:
   16 relatedfuncs: []
   17 deprecated: false
   18 ---
   19 
   20 ```
   21 {{ strings.Repeat 3 "yo" }} → "yoyoyo"
   22 {{ "yo" | strings.Repeat 3 }} → "yoyoyo"
   23 ```