mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-10-18 15:10:21 -04:00

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 | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 }}