upper.md (508B)
1 --- 2 title: upper 3 # linktitle: upper 4 description: Converts all characters in a string to uppercase 5 date: 2017-02-01 6 publishdate: 2017-02-01 7 lastmod: 2017-02-01 8 keywords: [] 9 categories: [functions] 10 menu: 11 docs: 12 parent: "functions" 13 toc: 14 signature: ["upper INPUT"] 15 workson: [] 16 hugoversion: 17 relatedfuncs: [] 18 deprecated: false 19 draft: false 20 aliases: [] 21 --- 22 23 Note that `upper` can be applied in your templates in more than one way: 24 25 ``` 26 {{ upper "BatMan" }} → "BATMAN" 27 {{ "BatMan" | upper }} → "BATMAN" 28 ```