github.com/jbramsden/hugo@v0.47.1/docs/content/en/functions/range.md (about)

     1  ---
     2  title: range
     3  linktitle:
     4  description: Iterates over a map, array, or slice.
     5  godocref:
     6  date: 2017-02-01
     7  publishdate: 2017-02-01
     8  lastmod: 2017-02-01
     9  categories: [functions]
    10  menu:
    11    docs:
    12      parent: "functions"
    13  keywords: [iteration]
    14  signature: ["range COLLECTION"]
    15  workson: []
    16  hugoversion:
    17  relatedfuncs: []
    18  deprecated: false
    19  draft: false
    20  aliases: []
    21  ---
    22  
    23  Just like in the Go programming language, Go and Hugo templates make heavy use of `range` to iterate over a map, array or slice.
    24  
    25  `range` is fundamental to templating in Hugo. (See the [Introduction to Hugo Templates](/templates/introduction/) for more examples.