mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -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"
|
|
```
|