mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
b9bd35d72e
git-subtree-dir: docs git-subtree-split: fdea5430f89dfd849d39212abdf5ace0a4763e5a
30 lines
519 B
Markdown
30 lines
519 B
Markdown
---
|
|
title: upper
|
|
# linktitle: upper
|
|
description: Converts all characters in a string to uppercase
|
|
godocref:
|
|
date: 2017-02-01
|
|
publishdate: 2017-02-01
|
|
lastmod: 2017-02-01
|
|
keywords: []
|
|
categories: [functions]
|
|
menu:
|
|
docs:
|
|
parent: "functions"
|
|
toc:
|
|
signature: ["upper INPUT"]
|
|
workson: []
|
|
hugoversion:
|
|
relatedfuncs: []
|
|
deprecated: false
|
|
draft: false
|
|
aliases: []
|
|
---
|
|
|
|
Note that `upper` can be applied in your templates in more than one way:
|
|
|
|
```
|
|
{{ upper "BatMan" }} → "BATMAN"
|
|
{{ "BatMan" | upper }} → "BATMAN"
|
|
```
|
|
|