Files
hugo/content/functions/upper.md
T
Bjørn Erik Pedersen 4e0bca2b1e Remove the needsexamples construct
We need to rework the whole template func docs and, while a good idea, this does not fit into that.
2017-07-16 15:13:35 +02:00

572 B

title, description, godocref, date, publishdate, lastmod, categories, menu, toc, signature, workson, hugoversion, relatedfuncs, deprecated, draft, aliases
title description godocref date publishdate lastmod categories menu toc signature workson hugoversion relatedfuncs deprecated draft aliases
upper Converts all characters in a string to uppercase 2017-02-01 2017-02-01 2017-02-01
functions
docs
parent
functions
upper INPUT
false false

upper converts all characters in string to uppercase. Note that upper can be applied in your templates in more than one way:

{{ upper "BatMan" }} → "BATMAN"
{{ "BatMan" | upper }} → "BATMAN"