mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-03 20:22:38 +00:00
69d7a781b4
For example: [scalar](/getting-started/glossary/#scalar) => [scalar](g)
545 B
545 B
title, description, categories, keywords, action
| title | description | categories | keywords | action | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| math.Add | Adds two or more numbers. |
|
If one of the numbers is a float, the result is a float.
{{ add 12 3 2 }} → 17
You can also use the add function to concatenate strings.
{{ add "hu" "go" }} → hugo