mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 15:52:16 -05:00
21 lines
426 B
Markdown
21 lines
426 B
Markdown
---
|
|
title: lower
|
|
description: Converts all characters in the provided string to lowercase.
|
|
categories: [functions]
|
|
menu:
|
|
docs:
|
|
parent: functions
|
|
keywords: [strings,casing]
|
|
signature:
|
|
- "lower INPUT"
|
|
- "strings.ToLower INPUT"
|
|
relatedfuncs: []
|
|
---
|
|
|
|
|
|
Note that `lower` can be applied in your templates in more than one way:
|
|
|
|
```go-html-template
|
|
{{ lower "BatMan" }} → "batman"
|
|
{{ "BatMan" | lower }} → "batman"
|
|
```
|