Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/upper.md')
-rw-r--r--docs/content/en/functions/upper.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/content/en/functions/upper.md b/docs/content/en/functions/upper.md
new file mode 100644
index 000000000..2d75b37bd
--- /dev/null
+++ b/docs/content/en/functions/upper.md
@@ -0,0 +1,30 @@
+---
+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"
+```
+