Files
hugo/content/functions/printf.md
T
Bud Parr 7fd64f19c8 Merge bp/theme-design branch containing Bud Parr's new design
It's a beautiful thing. A thousand thanks, Bud.

See PR rdwatters/hugo-docs-concept#118
2017-05-26 14:25:22 -05:00

655 B

title, linktitle, description, godocref, date, publishdate, lastmod, categories, menu, tags, ns, signature, workson, hugoversion, relatedfuncs, deprecated, needsexamples
title linktitle description godocref date publishdate lastmod categories menu tags ns signature workson hugoversion relatedfuncs deprecated needsexamples
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
strings
printf FORMAT INPUT
false true

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