mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 07:48:52 +00:00
4e0bca2b1e
We need to rework the whole template func docs and, while a good idea, this does not fit into that.
632 B
632 B
title, linktitle, description, godocref, date, publishdate, lastmod, categories, menu, signature, workson, hugoversion, relatedfuncs, deprecated
| title | linktitle | description | godocref | date | publishdate | lastmod | categories | menu | signature | workson | hugoversion | relatedfuncs | deprecated | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| printf | printf | Formats a string using the standard `fmt.Sprintf` function. | https://golang.org/pkg/fmt/ | 2017-02-01 | 2017-02-01 | 2017-02-01 |
|
|
|
false |
printf formats a string using the standard fmt.Sprintf function. See the go doc for additional information.
{{ i18n ( printf "combined_%s" $var ) }}
{{ printf "formatted %.2f" 3.1416 }}