hugo/docs/content/functions/printf.md
2017-07-18 10:33:58 +02:00

563 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
functions
docs
parent
functions
printf FORMAT INPUT
false

See the go doc for additional information.

{{ i18n ( printf "combined_%s" $var ) }}
{{ printf "formatted %.2f" 3.1416 }}