mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
21 lines
404 B
Markdown
21 lines
404 B
Markdown
---
|
|
title: upper
|
|
description: Converts all characters in a string to uppercase
|
|
keywords: []
|
|
categories: [functions]
|
|
menu:
|
|
docs:
|
|
parent: functions
|
|
toc:
|
|
signature:
|
|
- "upper INPUT"
|
|
- "strings.ToUpper INPUT"
|
|
relatedfuncs: []
|
|
---
|
|
|
|
Note that `upper` can be applied in your templates in more than one way:
|
|
|
|
```go-html-template
|
|
{{ upper "BatMan" }} → "BATMAN"
|
|
{{ "BatMan" | upper }} → "BATMAN"
|
|
```
|