mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
29 lines
561 B
Markdown
29 lines
561 B
Markdown
---
|
|
title: lower
|
|
linktitle: lower
|
|
description: Converts all characters in the provided string to lowercase.
|
|
date: 2017-02-01
|
|
publishdate: 2017-02-01
|
|
lastmod: 2017-02-01
|
|
categories: [functions]
|
|
menu:
|
|
docs:
|
|
parent: "functions"
|
|
keywords: [strings,casing]
|
|
signature:
|
|
- "lower INPUT"
|
|
- "strings.ToLower INPUT"
|
|
workson: []
|
|
hugoversion:
|
|
relatedfuncs: []
|
|
deprecated: false
|
|
aliases: []
|
|
---
|
|
|
|
|
|
Note that `lower` can be applied in your templates in more than one way:
|
|
|
|
```go-html-template
|
|
{{ lower "BatMan" }} → "batman"
|
|
{{ "BatMan" | lower }} → "batman"
|
|
```
|