Merge commit '89044b8f8795f17c36396c67823183a20fc88139'

This commit is contained in:
Bjørn Erik Pedersen
2020-05-06 12:12:57 +02:00
46 changed files with 231 additions and 40 deletions

View File

@@ -20,6 +20,6 @@ draft: false
aliases: []
---
Just like in the Go programming language, Go and Hugo templates make heavy use of `range` to iterate over a map, array or slice.
Just like in the Go programming language, Go and Hugo templates make heavy use of `range` to iterate over a map, array or slice. Other templating languages use a foreach for the equivalent functionality.
`range` is fundamental to templating in Hugo. (See the [Introduction to Hugo Templates](/templates/introduction/) for more examples.)